Back to Devexpress

GridCommands.ClearGrouping Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcommands-9ef45b67.md

latest1.5 KB
Original Source

GridCommands.ClearGrouping Property

Ungroups the grid.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public static RoutedCommand ClearGrouping { get; }
vb
Public Shared ReadOnly Property ClearGrouping 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.ClearGrouping"
        CommandTarget="{Binding Path=View, ElementName=grid}">Ungroup</Button>

Corresponding Method: GridControl.ClearGrouping.

See Also

GridCommands Class

GridCommands Members

DevExpress.Xpf.Grid Namespace