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

ColumnBase.ShowInColumnChooser Property

Gets or sets whether to display the column in the Column Chooser. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public bool ShowInColumnChooser { get; set; }

Property Value

Type Default Description
Boolean true

true to display the column’s header within the Column Chooser; otherwise, false.

Remarks

To hide a column from the View, set its BaseColumn.Visible property to false. To hide a column from the Column Chooser, set its ShowInColumnChooser property to false.

<dxg:GridColumn FieldName="Visits" Visible="False"/>
<dxg:GridColumn FieldName="Birthday" Visible="False" ShowInColumnChooser="False"/>

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowInColumnChooser property.

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.

See Also