Back to Devexpress

TabFormControlBase.AllowMoveTabsToOuterForm Property

windowsforms-devexpress-dot-xtrabars-dot-tabformcontrolbase-65d17272.md

latest2.9 KB
Original Source

TabFormControlBase.AllowMoveTabsToOuterForm Property

Gets or sets whether it is possible to drag a page tab outside the current form and thus, create a separate form.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public bool AllowMoveTabsToOuterForm { get; set; }
vb
<DefaultValue(True)>
Public Property AllowMoveTabsToOuterForm As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if it is possible to drag a page tab outside the current form and thus, create a separate form; otherwise, false.

|

Remarks

By default, end-users can drag a page tab out of the current TabForm to display the page in a separate TabForm. Set the AllowMoveTabsToOuterForm property to false to disable this feature.

The TabFormControlBase.OuterFormCreating and TabFormControlBase.OuterFormCreated events fire before and after a new TabForm containing the dragged page is created, respectively.

However, if the AllowMoveTabsToOuterForm property is set to false , it is still possible to rearrange page tabs within the current TabForm using drag-and-drop operations. To prevent this, set the TabFormControlBase.AllowMoveTabs property to false.

The TabFormControl.Transition settings allow you to customize or totally disable animation effects that are used by default when an end-user rearranges tabs.

See Also

OuterFormCreated

OuterFormCreating

AllowMoveTabs

Transition

TabFormControlBase Class

TabFormControlBase Members

DevExpress.XtraBars Namespace