Back to Devexpress

DockControllerCommand.Hide Property

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollercommand-a4bb8961.md

latest1.7 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

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

Property Value

TypeDescription
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:

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

Corresponding Method: DockControllerBase.Hide

See Also

DockControllerCommand Class

DockControllerCommand Members

DevExpress.Xpf.Docking Namespace