Back to Devexpress

TableViewCommands Class

wpf-devexpress-dot-xpf-dot-grid-a5434a0a.md

latest2.0 KB
Original Source

TableViewCommands Class

Provides access to the TableView‘s built-in commands.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

The following members return TableViewCommands objects:

Remarks

The TableView includes multiple built-in commands that allow you to expand/collapse groups, move focus, sort/data, run dialogs, and so on. All these commands have corresponding methods. For example, the DataViewBase.ShowSearchPanel method corresponds to the DataViewCommandsBase.ShowSearchPanel (via the TableViewCommands .ShowSearchPanel ) command.

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

Inheritance

Object DataViewCommandsBase GridViewCommandsBase TableViewCommands

See Also

TableViewCommands Members

DevExpress.Xpf.Grid Namespace