Skip to main content
All docs
V24.1

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.v24.1.dll

NuGet Package: 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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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