A newer version of this page is available. Switch to the current version.

TableViewCommands Class

Provides access to TableView commands.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.dll

Declaration

public class TableViewCommands :
    GridViewCommandsBase,
    IConditionalFormattingCommands
Public Class TableViewCommands
    Inherits GridViewCommandsBase
    Implements IConditionalFormattingCommands

Related API Members

The following members accept/return TableViewCommands objects:

Remarks

The TableView provides a great number of built-in commands allowing you to expand/collapse groups, move the row or cell focus, apply sorting, run dialogs, etc. All these commands have corresponding methods. For instance, the DataViewBase.ShowSearchPanel method corresponds to the DataViewCommandsBase.ShowSearchPanel (via the TableViewCommands.ShowSearchPanel) command.

<Button Command="{Binding Commands.ShowSearchPanel, ElementName=tableView}">Show Search Panel</Button>

Inheritance

See Also