Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#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