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

BaseView.FloatDocumentsAlwaysOnTop Property

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

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v21.2.dll

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

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

Specifies whether floating Documents are always drawn on top.

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.

Remarks

The figure below illustrates a floating Document with and without the disabled FloatDocumentsAlwaysOnTop property.

DockManager panels with and without the AlwaysOnTop setting

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

This property has an effect only on Tabbed and Widget Views. In Widget View, Documents can float if the LayoutMode property is set to “FreeLayout” and the FreeLayoutProperties.ItemDragStyle property is set to “DockingHints”.

Floating documents that are not always on top of their parent forms display Minimize buttons. In Tabbed View these buttons are displayed automatically. In Widget View use the WidgetView.DocumentProperties.ShowMinimizeButton property to control button visibility.

See Also