Back to Devexpress

TreeListViewCommands Class

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

latest2.0 KB
Original Source

TreeListViewCommands Class

Provides access to the TreeListView‘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 TreeListViewCommands :
    DataViewCommandsBase,
    IConditionalFormattingCommands
vb
Public Class TreeListViewCommands
    Inherits DataViewCommandsBase
    Implements IConditionalFormattingCommands

The following members return TreeListViewCommands objects:

Remarks

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

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

Inheritance

Object DataViewCommandsBase TreeListViewCommands

See Also

TreeListViewCommands Members

Data Grid Command API

DevExpress.Xpf.Grid Namespace