Skip to main content
A newer version of this page is available. .
All docs
V21.2

DockingOptions.FloatPanelsAlwaysOnTop Property

Gets or sets whether floating DockManager panels are always drawn on top of their parent forms.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean FloatPanelsAlwaysOnTop { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

Specifies whether floating panels are always drawn on top of their parent forms.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to FloatPanelsAlwaysOnTop
DockManager
.DockingOptions .FloatPanelsAlwaysOnTop

Remarks

The figure below demonstrates the FloatPanelsAlwaysOnTop property’s effect on dock panels.

DockManager panels with and without the AlwaysOnTop setting

The BarAndDockingController component has a corresponding DockingOptions.FloatWindowsAlwaysOnTop property. This property specifies the floating panel behavior for all DockManagers whose FloatPanelsAlwaysOnTop equals DefaultBoolean.Default. If no BarAndDockingController is present or its own property value is also “Default”, float panels are always drawn on top of their parent forms.

If floating panels are always drawn on top, they never show Minimize buttons (the DockManager.DockingOptions.ShowMinimizeButton property has no effect).

See Also