Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows.TabbedMdi Namespace / TabbedMdiTabStripAppearance Class / AllowDrag Property


In This Topic
    AllowDrag Property (TabbedMdiTabStripAppearance)
    In This Topic
    Gets or sets a value indicating if the tabs can be reordered within their associated tab-group.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(True)>
    <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(true)]
    [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