Skip to main content
A newer version of this page is available. .

GridCommands.CollapseAllGroups Property

Collapses all group rows.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CollapseAllGroups property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also