Skip to main content

GridCommands.ChangeCardExpanded Property

Toggles the specified card’s expanded state.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public static RoutedCommand ChangeCardExpanded { 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.ChangeCardExpanded"
        CommandTarget="{Binding Path=View, ElementName=grid}"
        CommandParameter="{Binding Path=FocusedRowHandle, ElementName=cardView}"></Button>

Corresponding Method(s): CardView.ExpandCard and CardView.CollapseCard

See Also