GridCommands Class
Provides access to grid commands.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.2.dll
Declaration
Remarks
The grid has more than twenty built-in commands allowing you to expand/collapse group rows, move the row or cell focus, apply sorting and grouping, etc. All these commands have corresponding methods. For instance, the GridControl.ClearGrouping method corresponds to the GridCommands.ClearGrouping command.
<Button Command="dxg:GridCommands.ClearGrouping"
CommandTarget="{Binding Path=View, ElementName=grid}">Ungroup</Button>
Inheritance
Object
GridCommands
See Also