Skip to main content
A newer version of this page is available. .

XtraTabbedMdiManager.FloatOnDrag Property

Gets or sets whether a page can be dragged away from the XtraTabbedMdiManager and then restored.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v21.2.dll

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean FloatOnDrag { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean value that specifies if a page is made floating on dragging its tab outside the tab header region.

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

If this option is enabled, a page can be dragged away from the XtraTabbedMdiManager, and then restored. When the page is dragged away, it’s made floating.

The DefaultBoolean.Default value assigned to the FloatOnDrag property is interpreted as DefaultBoolean.False

You can use the XtraTabbedMdiManager.FloatPageDragMode property to specify how a page should be displayed while it’s being dragged away from the XtraTabbedMdiManager.

See Also