Commands
The GridControl provides you a set of built-in commands allowing some mostly used actions to be easily programmed via XAML markup.
The following classes store these commands:
- GridCommands - Provides access to grid commands.
- DataViewCommandsBase - Contains commands common to all the GridControl views.
- TableViewCommands - Provides access to TableView commands.
- TreeListViewCommands - Provides access to TreeListView commands.
- CardViewCommands - Provides access to CardView commands.
Tip
Refer to these classes’ members to get the full list of available commands.
The code snippet below demonstrates the usage of commands.
<Button Command="{Binding ElementName=grid,Path=View.Commands.ShowSearchPanel}" />