GridControlCommands Class
Contains built-in grid commands.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
Declaration
Related API Members
The following members return GridControlCommands objects:
Remarks
The GridControlCommands and DataControlCommandsBase classes store the following commands:
Property | Description |
---|---|
ChangeGroupExpanded | Toggles the specified group row’s expanded state. |
ChangeShowGroupPanel | Toggles the visibility of the Group Panel. |
ClearFilter | Clears the filter expression. |
ClearGrouping | Ungroups the grid. |
CollapseAllGroups | Collapses all group rows. |
ExpandAllGroups | Expands all group rows. |
HideSearchPanel | Hides the Search Panel. |
MoveFirstRow | Moves focus to the first visible row. |
MoveLastRow | Moves focus to the last visible row. |
MoveNextPage | Moves focus forward by the number of rows displayed onscreen. |
MoveNextRow | Moves focus to the row that follows the focused row. |
MovePrevPage | Moves focus backward by the number of rows displayed onscreen. |
MovePrevRow | Moves focus to the row that precedes the focused row. |
ShowColumnChooser | Invokes the Column Chooser. |
ShowSearchPanel | Displays the Search Panel. |
The code snippet below demonstrates how to use built-in commands:
<Button Content="Show Column Chooser"
Command="{x:Bind grid.Commands.ShowColumnChooser}"/>
Inheritance
Object
BindableBase
DevExpress.WinUI.Core.Internal.CommandsContainerBase
DevExpress.WinUI.Core.Internal.CommandsContainer<DataControlBase>
DataControlCommandsBase
GridControlCommands
See Also