Back to Devexpress

DockControllerCommand.Restore Property

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollercommand-10b333bf.md

latest1.6 KB
Original Source

DockControllerCommand.Restore Property

Restores a closed (hidden) panel at its previous dock position.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public static RoutedCommand Restore { get; }
vb
Public Shared ReadOnly Property Restore As RoutedCommand

Property Value

TypeDescription
RoutedCommand

A command that implements the ICommand, and is routed through the element tree.

|

Remarks

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

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

Corresponding Method: DockControllerBase.Restore

See Also

DockControllerCommand Class

DockControllerCommand Members

DevExpress.Xpf.Docking Namespace