Xceed Docking Windows for WinForms v2.3 Documentation
AllowDrag Property (TabbedMdiTabStripAppearance)


Xceed.DockingWindows.TabbedMdi Namespace > TabbedMdiTabStripAppearance Class : AllowDrag Property
Gets or sets a value indicating if the tabs can be reordered within their associated tab-group.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<DescriptionAttribute("Indicates if the tabs contained in the MDI tabstrip can be dragged to change their position in the tabstrip.")>

<CategoryAttribute("Behavior")>

Public Property AllowDrag As Boolean
'Usage
 
Dim instance As TabbedMdiTabStripAppearance

Dim value As Boolean

 

instance.AllowDrag = value

 

value = instance.AllowDrag
[DefaultValue()]

[Description("Indicates if the tabs contained in the MDI tabstrip can be dragged to change their position in the tabstrip.")]

[Category("Behavior")]

public bool AllowDrag {get; set;}

Property Value

true if the tabs can be reordered; false otherwise. By default, true.
Remarks
Setting the AllowDrag property to false will not prevent tabs from being moved to another tab-group.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TabbedMdiTabStripAppearance Class
TabbedMdiTabStripAppearance Members