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

    Enables the auto-hide functionality for the item/panel and hides it at a corresponding edge of the DockLayoutManager container.

    Namespace: DevExpress.Xpf.Docking

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

    NuGet Package: DevExpress.Wpf.Docking

    Declaration

    public static RoutedCommand Hide { get; }

    Property Value

    Type Description
    RoutedCommand

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

    Remarks

    The following code sample hides the DockLayoutManager’s Panel1 item:

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

    Corresponding Method: DockControllerBase.Hide

    See Also