Back to Devexpress

GridCommands Properties

wpf-devexpress-dot-xpf-dot-grid-dot-gridcommands-dot-underscore-properties.md

latest5.4 KB
Original Source

GridCommands Properties

Provides access to built-in grid commands.

NameDescription
AddNewRow staticAdds a new row.
BestFitColumn staticResizes the column to the minimum width required to display the column’s contents completely.
BestFitColumns staticAdjusts the width of columns so that columns fit their contents in an optimal way.
CancelEditFocusedRow staticHides the active editor, discarding all the changes made within the focused row.
ChangeCardExpanded staticToggles the specified card’s expanded state.
ChangeColumnSortOrder staticToggles a column’s sort order.
ChangeGroupExpanded staticToggles the specified group row’s expanded state.
ClearColumnFilter staticRemoves the filter condition applied to a column.
ClearFilter staticClears the grid’s filter expression.
ClearFilterColumn staticObsolete. Removes the filter condition applied to a column.
ClearGrouping staticUngroups the grid.
CollapseAllGroups staticCollapses all group rows.
DeleteFocusedRow staticDeletes the focused data row or card.
DeleteSelectedRows staticDeletes selected rows.
EditFocusedRow staticActivates the focused cell’s inplace editor.
EndEditFocusedRow staticHides the active editor and posts all the changes made within the focused row to a data source if the row values are valid.
ExpandAllGroups staticExpands all group rows.
HideColumnChooser staticHides the Column Chooser.
MoveFirstCell staticMoves focus to the first cell displayed within the first visible row.
MoveFirstRow staticMoves focus to the first visible row or card within a View.
MoveLastCell staticMoves focus to the last cell displayed within the last visible row.
MoveLastRow staticMoves focus to the last visible row or card within a View.
MoveNextCell staticFocuses the next cell after the focused cell.
MoveNextPage staticMoves focus forward by the number of rows or cards displayed onscreen within a View.
MoveNextRow staticMoves focus to the row or card following the one currently focused.
MoveParentGroupRow staticMoves focus to the group row that owns the currently focused row.
MovePrevCell staticFocuses the preceding cell before the focused cell.
MovePrevPage staticMoves focus backward by the number of rows or cards displayed onscreen within a View.
MovePrevRow staticMoves focus to the row or card preceding the one currently focused.
Refresh staticRefreshes the grid’s ItemsSource. Note that this command duplicates the RefreshDataSource command.
RefreshDataSource staticRefreshes the grid’s ItemsSource.
ShowColumnChooser staticInvokes the Column Chooser.
ShowFilterEditor staticInvokes the Filter Editor.
ShowUnboundExpressionEditor staticInvokes the Expression Editor.

See Also

GridCommands Class

GridCommands Members

DevExpress.Xpf.Grid Namespace