Back to Devexpress

GridCommands.ChangeCardExpanded Property

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

latest1.7 KB
Original Source

GridCommands.ChangeCardExpanded Property

Toggles the specified card’s expanded state.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

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

See Also

GridCommands Class

GridCommands Members

DevExpress.Xpf.Grid Namespace