ColumnChooserControl
Displays a list with column chooser items, associated with columns.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class ColumnChooserControl : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlColumnChooserControl...
Implements:
Inherited Members
Constructors
Initializes a new instance of the ColumnChooserControl class.
public ColumnChooserControl()
Creates a new instance of the ColumnChooserForm class.
public ColumnChooserControl(RadGridViewElement rootElement)
An instance of the RadGridViewElement.
Properties
Gets the column chooser element.
public ColumnChooserElement ColumnChooserElement { get; }
The column chooser element.
Columns
IList<GridViewColumn>
Gets a generic list containing all GridViewDataColumn objects available in the form.
public IList<GridViewColumn> Columns { get; }
Gets or sets the mode that defines which columns are displayed in the column chooser.
public ColumnChooserColumnsDisplayMode ColumnsDisplayMode { get; set; }
Gets or sets a value indicating whether the filter text box is visible.
public bool EnableFiltering { get; set; }
Gets the filter text box of this column chooser
public RadTextBoxElement FilterTextBox { get; }
Gets or sets the grid view element.
public RadGridViewElement GridViewElement { get; set; }
The grid view element.
Gets the GridViewTemplate used in the form.
public GridViewTemplate ViewTemplate { get; set; }
Methods
Returns a boolean value indicating whether the control defines the theme for the element.
public override bool ControlDefinesThemeForElement(RadElement element)
The element.
Returns:Overrides:
Creates a new instance of the ColumnChooserForm class.
protected override void CreateChildItems(RadElement parent)
Overrides:
Notifies that the control is about to be visualized.
Raises the event.
protected override void OnMouseWheel(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Overrides:
Scales the control with the specified factor.
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
Overrides:
Events
Occurs when a new item element is being created. The created item is then added to the Column chooser.
public event ColumnChooserItemElementCreatingEventHandler ItemElementCreating