Back to Devexpress

Column Chooser

wpf-6217-controls-and-libraries-data-grid-visual-elements-common-elements-column-band-chooser.md

latest2.9 KB
Original Source

Column Chooser

  • Feb 12, 2026
  • 2 minutes to read

The Column Chooser allows users to hide and display columns and bands. To display the Column Chooser , a user should select the Show Column/Band chooser option in the column’s header context menu:

The Column Chooser window contains column and band headers and check boxes. Each check box visualizes the BaseColumn.Visible property of the corresponding column or band. Set the BaseColumn.ShowInColumnChooser property to false to hide a column/band from the Column Chooser window.

The table below lists the main properties that affect element behavior and appearance:

CharacteristicsMembers
Column Chooser ControlExtendedColumnChooserControl
Show and HideDataViewBase.ShowColumnChooser, DataViewBase.ShownColumnChooser, DataViewBase.HideColumnChooser, DataViewBase.HiddenColumnChooser, DataViewBase.IsColumnChooserVisible
TemplateDataViewBase.ExtendedColumnChooserTemplate
Column Header TemplateDataViewBase.ColumnHeaderTemplate
Header CaptionColumnBase.ColumnChooserHeaderCaption

The GridControl displays the Column Chooser in a separate window. To add the Column Chooser to the same window as the GridControl, create an ExtendedColumnChooserControl object:

View Example: Display a Standalone Column Chooser

  1. Users can open the Column Chooser window from a column header’s context menu. To prevent this, remove the Show Column/Band Chooser button from the menu:

  2. Add a Column Chooser to the window:

Keyboard Navigation

You can use arrow keys to navigate between column names in the Column Chooser. Press the Space key to select/clear the focused column’s checkbox and display/hide columns in the Data Grid.

See Also

Show and Hide Columns