Back to Devexpress

XtraTabbedMdiManager.AllowDragDrop Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-c0080116.md

latest2.3 KB
Original Source

XtraTabbedMdiManager.AllowDragDrop Property

Gets or sets whether end-users can reorder pages by dragging their headers.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean AllowDragDrop { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property AllowDragDrop As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

A DefaultBoolean enumeration value which specifies whether end-users can reorder pages by dragging their headers.

|

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

If the AllowDragDrop property is set to Default or True , an end-user can use drag-and-drop to rearrange tabs. However, in this case, it is not possible to drag-and-drop other objects onto the form’s client region, occupied by the tabs. The form’s drag-and-drop events will not raise, as they are handled and suppressed by the XtraTabbedMdiManager.

If the AllowDragDrop property is set to False , tab drag-and-drop is disabled and the form’s drag-and-drop events are not suppressed.

See Also

XtraTabbedMdiManager Class

XtraTabbedMdiManager Members

DevExpress.XtraTabbedMdi Namespace