Back to Devexpress

DataViewBase.ColumnChooserColumnDisplayMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-34dc9d6d.md

latest3.2 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ColumnChooserColumnDisplayMode ColumnChooserColumnDisplayMode { get; set; }
vb
Public Property ColumnChooserColumnDisplayMode As ColumnChooserColumnDisplayMode

Property Value

TypeDescription
ColumnChooserColumnDisplayMode

Any of the ColumnChooserColumnDisplayMode enumeration values.

|

Available values:

NameDescription
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.

| | 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.

|

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.

ShowAllColumns (Default) - displays GridControl‘s columns as checked list

ShowHiddenColumnsOnly - displays hidden columns

See Also

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace