Back to Devexpress

GridCommands.CollapseAllGroups Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcommands-f9fd4fa3.md

latest1.5 KB
Original Source

GridCommands.CollapseAllGroups Property

Collapses all group rows.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
RoutedCommand

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

|

Remarks

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

Corresponding Method: GridControl.CollapseAllGroups.

See Also

GridCommands Class

GridCommands Members

DevExpress.Xpf.Grid Namespace