Back to Devexpress

BaseView.FloatDocumentsAlwaysOnTop Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-baseview-d77b238a.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public virtual DefaultBoolean FloatDocumentsAlwaysOnTop { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Overridable Property FloatDocumentsAlwaysOnTop As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

Specifies whether floating Documents are always drawn on top.

|

Available values:

NameDescriptionReturn 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.

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

BaseView Class

BaseView Members

DevExpress.XtraBars.Docking2010.Views Namespace