Skip to main content

GridCommands.CollapseAllGroups Property

Collapses all group rows.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

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