DataViewCommandsBase.ShowColumnChooser Property
Invokes the Column Chooser.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v25.1.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
ICommand | A command implementing the ICommand. |
Remarks
Corresponding Method: DataViewBase.ShowColumnChooser.
The following example uses the ShowColumnChooser
property to display Column Chooser:
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
...
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<dxb:ToolBarControl>
<dxb:BarButtonItem Content="Show Column Chooser"
Command="{Binding View.Commands.ShowColumnChooser, ElementName=grid}" />
</dxb:ToolBarControl>
<dxg:GridControl x:Name="grid" Grid.Row="1" ...>
...
</dxg:GridControl>
</Grid>
See Also