Skip to main content
All docs
V25.1
  • DockControllerCommand.Restore Property

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

    Namespace: DevExpress.Xpf.Docking

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

    NuGet Package: DevExpress.Wpf.Docking

    Declaration

    public static RoutedCommand Restore { get; }

    Property Value

    Type Description
    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:

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

    Corresponding Method: DockControllerBase.Restore

    See Also