/how-to-create-a-custom-column-chooser-e1661

Display the column chooser in standalone mode and connect it to the GridControl.

Primary LanguageC#OtherNOASSERTION

WPF Data Grid - Display a Standalone Column Chooser

This example displays the column chooser in standalone mode and connects it to the GridControl:

image

<dxg:ExtendedColumnChooserControl Owner="{Binding ElementName=tableView}" 
                                  FlowDirection="{Binding Owner.FlowDirection, RelativeSource={RelativeSource Self}}"/>
<dxg:TableView.ColumnMenuCustomizations>
   <dxb:RemoveAction ElementName="{x:Static dxg:DefaultColumnMenuItemNames.ColumnChooser}"/>
</dxg:TableView.ColumnMenuCustomizations>

Files to look at

Documentation

More Examples