GridCommands.CollapseAllGroups Property

Collapses all group rows.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public static RoutedCommand CollapseAllGroups { get; }

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