This example displays the column chooser in standalone mode and connects it to the GridControl:
- Add ExtendedColumnChooserControl to your layout and define its Owner and FlowDirection properties:
<dxg:ExtendedColumnChooserControl Owner="{Binding ElementName=tableView}"
FlowDirection="{Binding Owner.FlowDirection, RelativeSource={RelativeSource Self}}"/>
- Hide the context menu item that shows and hides GridControl's Column Chooser. Add a RemoveAction object to the TableView's ColumnMenuCustomizations collection:
<dxg:TableView.ColumnMenuCustomizations>
<dxb:RemoveAction ElementName="{x:Static dxg:DefaultColumnMenuItemNames.ColumnChooser}"/>
</dxg:TableView.ColumnMenuCustomizations>