Skip to main content
A newer version of this page is available. .

ColumnChooserControl Class

The Column Chooser control.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public class ColumnChooserControl :
    GridColumnChooserControlBase

Remarks

The Column Chooser enables end-users to show and hide columns from the View at runtime via drag-and-drop. To learn more, see Column Chooser.

By default, the Column Chooser is displayed in a separate window. Use the ColumnChooserControl class to manually create a standalone Column Chooser that can be located in the same window with GridControl.

After the ColumnChooserControl is created, you should specify a GridControl that will own the Column Chooser. To do this, assign the desired GridControl instance to the ColumnChooserControlBase.Owner property.

GridControl_ColumnChooser

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ColumnChooserControl class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
ColumnChooserControlBase
DevExpress.Xpf.Grid.GridColumnChooserControlBase
ColumnChooserControl
See Also