Skip to main content

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

NuGet Package: 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 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

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