ClassGridViewColumnChooser
Displays a form used to manage columns
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewColumnChooser : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormGridViewColumnChooser
Implements:
Inherited Members
Constructors
GridViewColumnChooser()
Initializes a new instance of the GridViewColumnChooser class.
Declaration
public GridViewColumnChooser()
GridViewColumnChooser(GridViewTemplate)
Initializes a new instance of the ColumnChooserForm class.
Declaration
public GridViewColumnChooser(GridViewTemplate template)
Parameters
template
The GridViewTemplate object, owner of this form
GridViewColumnChooser(GridViewTemplate, RadGridViewElement)
Initializes a new instance of the GridViewColumnChooser class.
Declaration
public GridViewColumnChooser(GridViewTemplate template, RadGridViewElement rootElement)
Parameters
template
The GridViewTemplate object, owner of this form
rootElement
The RadGridViewElement object
Properties
ColumnChooserControl
Gets the ColumnChooserControl associated with this form.
Declaration
public ColumnChooserControl ColumnChooserControl { get; }
Property Value
Columns
Gets list of GridViewDataColumn objects contained in the form.
Declaration
public IList<GridViewColumn> Columns { get; }
Property Value
IList<GridViewColumn>
ColumnsDisplayMode
Gets or sets the mode that defines which columns are displayed in the column chooser.
Declaration
public ColumnChooserColumnsDisplayMode ColumnsDisplayMode { get; set; }
Property Value
EnableFilter
Gets or sets a value indicating whether the filter text box is visible.
GridRootElement
Gets or sets the associated instance of GridVisualElement
Declaration
public RadGridViewElement GridRootElement { get; }
Property Value
Template
Gets the GridViewTemplate associated with this form.
Declaration
public GridViewTemplate Template { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true if managed resources should be disposed; otherwise, false.
Overrides
HandleDpiChanged()
Handles the DPI change.
Declaration
protected override void HandleDpiChanged()
Overrides
OnLoad(EventArgs)
Raises the event.
OnShown(EventArgs)
Raises the Shown event.