Back to Devexpress

DockControllerCommand.Float Property

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

latest1.7 KB
Original Source

DockControllerCommand.Float Property

Makes the specified item floating.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

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

Property Value

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

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

Corresponding Method: DockControllerBase.Float

See Also

DockControllerCommand Class

DockControllerCommand Members

DevExpress.Xpf.Docking Namespace