GridCommands Properties
Provides access to built-in grid commands.| Name | Description |
|---|---|
| AddNewRow static | Adds a new row. |
| BestFitColumn static | Resizes the column to the minimum width required to display the column’s contents completely. |
| BestFitColumns static | Adjusts the width of columns so that columns fit their contents in an optimal way. |
| CancelEditFocusedRow static | Hides the active editor, discarding all the changes made within the focused row. |
| ChangeCardExpanded static | Toggles the specified card’s expanded state. |
| ChangeColumnSortOrder static | Toggles a column’s sort order. |
| ChangeGroupExpanded static | Toggles the specified group row’s expanded state. |
| ClearColumnFilter static | Removes the filter condition applied to a column. |
| ClearFilter static | Clears the grid’s filter expression. |
| ClearFilterColumn static | Obsolete. Removes the filter condition applied to a column. |
| ClearGrouping static | Ungroups the grid. |
| CollapseAllGroups static | Collapses all group rows. |
| DeleteFocusedRow static | Deletes the focused data row or card. |
| DeleteSelectedRows static | Deletes selected rows. |
| EditFocusedRow static | Activates the focused cell’s inplace editor. |
| EndEditFocusedRow static | Hides the active editor and posts all the changes made within the focused row to a data source if the row values are valid. |
| ExpandAllGroups static | Expands all group rows. |
| HideColumnChooser static | Hides the Column Chooser. |
| MoveFirstCell static | Moves focus to the first cell displayed within the first visible row. |
| MoveFirstRow static | Moves focus to the first visible row or card within a View. |
| MoveLastCell static | Moves focus to the last cell displayed within the last visible row. |
| MoveLastRow static | Moves focus to the last visible row or card within a View. |
| MoveNextCell static | Focuses the next cell after the focused cell. |
| MoveNextPage static | Moves focus forward by the number of rows or cards displayed onscreen within a View. |
| MoveNextRow static | Moves focus to the row or card following the one currently focused. |
| MoveParentGroupRow static | Moves focus to the group row that owns the currently focused row. |
| MovePrevCell static | Focuses the preceding cell before the focused cell. |
| MovePrevPage static | Moves focus backward by the number of rows or cards displayed onscreen within a View. |
| MovePrevRow static | Moves focus to the row or card preceding the one currently focused. |
| Refresh static | Refreshes the grid’s ItemsSource. Note that this command duplicates the RefreshDataSource command. |
| RefreshDataSource static | Refreshes the grid’s ItemsSource. |
| ShowColumnChooser static | Invokes the Column Chooser. |
| ShowFilterEditor static | Invokes the Filter Editor. |
| ShowUnboundExpressionEditor static | Invokes the Expression Editor. |
See Also