Skip to main content

BaseLayoutItem.AllowFloat Property

Gets or sets whether the dock item can float. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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


public bool AllowFloat { get; set; }

Property Value

Type Description

true if the dock item can float; otherwise, false.


To float a specific dock panel in code, use the DockController.Float method provided by the DockLayoutManager.DockController object.

In XAML, you can create a floating panel by creating a FloatGroup, adding a panel to the group, and then adding the group to the DockLayoutManager.FloatGroups collection.

See Also