GridCommands.ChangeGroupExpanded Property
In This Article
Toggles the specified group row’s expanded state.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public static RoutedCommand ChangeGroupExpanded { get; }
#Property Value
Type | Description |
---|---|
Routed |
A Routed |
#Remarks
<Button Command="dxg:GridCommands.ChangeGroupExpanded"
CommandTarget="{Binding Path=View, ElementName=grid}"
CommandParameter="{Binding Path=FocusedRowHandle, ElementName=tableView}"
>Expand/Collapse Group</Button>
Corresponding Method(s): GridControl.ExpandGroupRow and GridControl.CollapseGroupRow
See Also