GridCommands.CollapseAllGroups Property

Collapses all group rows.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public static RoutedCommand CollapseAllGroups { get; }
Public Shared ReadOnly Property CollapseAllGroups As RoutedCommand

Property Value

Type Description
RoutedCommand

A RoutedCommand object that defines a command implementing the ICommand, and is routed through the element tree.

Remarks

<Button Command="dxg:GridCommands.CollapseAllGroups"
        CommandTarget="{Binding Path=View, ElementName=grid}">Collapse All Groups</Button>

Corresponding Method: GridControl.CollapseAllGroups.

See Also