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

MDIControllerCommand.Restore Property

Restores a panel at its previous dock position.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v19.2.dll

Declaration

public static RoutedCommand Restore { get; }

Property Value

Type Description
RoutedCommand

A RoutedCommand object that defines a command implementing the ICommand, and is routed through the element tree.

Remarks

The following code sample restores the hidden Panel1 DockLayoutManager’s item:

<Button Command="dxdo:MDIControllerCommand.Restore" CommandTarget="{Binding ElementName=DockLayoutManager1}" CommandParameter="{Binding ElementName=Panel1 }" />

Corresponding Method: IMDIController.Restore.

See Also