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

DockControllerCommand.Float Property

Makes the specified item floating.

Namespace: DevExpress.Xpf.Docking

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Docking, DevExpress.Wpf.Navigation

Declaration

public static RoutedCommand Float { get; }

Property Value

Type Description
RoutedCommand

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

Remarks

The following code sample makes the active DockLayoutManager’s item floating:

 <Button Command="dxdo:DockControllerCommand.Float" 
         CommandTarget="{Binding ElementName=DockLayoutManager1}"
         CommandParameter="{Binding ElementName=DockLayoutManager1, Path=ActiveDockItem }"/>Close</Button>

Corresponding Method: DockControllerBase.Float

See Also