DataViewBase.ColumnChooserColumnDisplayMode Property

Gets or sets a value that specifies how the column chooser displays columns. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.Core.dll

Declaration

public ColumnChooserColumnDisplayMode ColumnChooserColumnDisplayMode { get; set; }

Property Value

Type Description
ColumnChooserColumnDisplayMode

Any of the ColumnChooserColumnDisplayMode enumeration values.

Available values:

Name Description
ShowAllColumns

The Column Chooser displays all the available columns in a checked list. End-users can select the columns to display within the GridControl by checking them.

WPF_GridControl_ColumnChooser_AllColumns

ShowHiddenColumnsOnly

The Column Chooser displays only the hidden columns. End-users can drag and drop the selected columns to the GridControl and back to the Column Chooser to display or hide them.

WPF_GridControl_ColumnChooser_HiddenColumns

Remarks

Set the ColumnChooserColumnDisplayMode property to ColumnChooserColumnDisplayMode.ShowAllColumns to make the column chooser display all the available columns in a checked list. End-users can select the columns to display within the GridControl by checking them.

Set the ColumnChooserColumnDisplayMode property to ColumnChooserColumnDisplayMode.ShowHiddenColumnsOnly to make the column chooser display only the hidden columns. End-users can drag and drop the selected columns to the GridControl and back to the column chooser to display or hide them.

See Also