Class ColumnChooserItem
Represents a column header in the column chooser form
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ColumnChooserItem : ColumnChooserVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
ColumnChooserItem()
Initializes a new instance of the ColumnChooserElement class.
Declaration
public ColumnChooserItem()
ColumnChooserItem(GridViewColumn, IRadServiceProvider)
Initializes a new instance of the ChoosenColumnElement class.
Declaration
public ColumnChooserItem(GridViewColumn column, IRadServiceProvider serviceProvider)
Parameters
GridViewColumn
column
An instance to GridViewDataColumn |
IRadServiceProvider
serviceProvider
|
ColumnChooserItem(GridViewColumnGroup, IRadServiceProvider)
Initializes a new instance of the ColumnChooserItem class.
Declaration
public ColumnChooserItem(GridViewColumnGroup group, IRadServiceProvider serviceProvider)
Parameters
GridViewColumnGroup
group
The group. |
IRadServiceProvider
serviceProvider
The service provider. |
Properties
ColumnInfo
The GridViewDataColumn associated with this item
Declaration
public GridViewColumn ColumnInfo { get; }
Property Value
GridViewColumn
|
Methods
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetDragContextCore()
Gets the context, associated with a drag operation.
Declaration
protected override object GetDragContextCore()
Returns
System.Object
|
Overrides
GetDragHintCore()
Gets the image to be used as a hint when this element is being dragged.
Declaration
protected override Image GetDragHintCore()
Returns
System.Drawing.Image
|
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element) |
Returns
System.Drawing.SizeF
The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnDoubleClick(EventArgs)
Raises the DoubleClick event.
Declaration
protected override void OnDoubleClick(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs
e
The System.Windows.Forms.MouseEventArgs instance containing the event data. |
Overrides
OnPanGesture(PanGestureEventArgs)
Fires the PanGesture event.
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
PanGestureEventArgs
args
The arguments for the PanGesture event. |
Overrides
ProcessDragOver(Point, ISupportDrag)
Processes the drag over.
Declaration
protected override bool ProcessDragOver(Point currentMouseLocation, ISupportDrag dragObject)
Parameters
System.Drawing.Point
currentMouseLocation
The current mouse location. |
ISupportDrag
dragObject
The drag object. |
Returns
System.Boolean
|
Overrides
UnwireEvents()
Unwires the events of the column.
Declaration
public void UnwireEvents()
WireEvents()
Wries the events of the column.
Declaration
public void WireEvents()