ColumnChooserItem
Represents a column header in the column chooser form
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ColumnChooserItem : ColumnChooserVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementColumnChooserVisualElementColumnChooserItem...
Implements:
Inherited Members
Constructors
Initializes a new instance of the ColumnChooserItem class.
public ColumnChooserItem()
Initializes a new instance of the ColumnChooserItem class.
public ColumnChooserItem(GridViewColumn column, IRadServiceProvider serviceProvider)
An instance to GridViewDataColumn
serviceProviderIRadServiceProviderInitializes a new instance of the ColumnChooserItem class.
public ColumnChooserItem(GridViewColumnGroup group, IRadServiceProvider serviceProvider)
The group.
serviceProviderIRadServiceProviderThe service provider.
Properties
Gets the ArrowPrimitive indicating the SortOrder of the column.
public ArrowPrimitive Arrow { get; }
Checkmark
RadCheckmark
Gets the RadCheckmark indicating the visibility of the ColumnInfo.
public RadCheckmark Checkmark { get; }
The GridViewDataColumn associated with this item.
public GridViewColumn ColumnInfo { get; }
Gets the main layout element. It is used to host and layout the Checkmark, TextElement and Arrow.
public StackLayoutElement StackElement { get; }
Gets the visual element that displays the text.
public LightVisualElement TextElement { get; }
Methods
protected virtual RadCheckmark CreateCheckmark()
RadCheckmark
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Gets the context, associated with a drag operation.
Gets the image to be used as a hint when this element is being dragged.
Initializes the fields.
protected override void InitializeFields()
Overrides:
Raises the DoubleClick event.
Raises the event.
protected override void OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
Fires the PanGesture event.
protected override void OnPanGesture(PanGestureEventArgs args)
The arguments for the PanGesture event.
Overrides:
Processes the drag over.
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
The current mouse location.
dragObjectISupportDragThe drag object.
Returns:Overrides:
Unwires the events of the column.
public void UnwireEvents()
Wires the events of the column.
public void WireEvents()