Back to Devexpress

GridCommands Members

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

latest7.4 KB
Original Source

GridCommands Members

Provides access to built-in grid commands.

Properties

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.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

GridCommands Class

DevExpress.Xpf.Grid Namespace