Xceed Docking Windows for WinForms v2.3 Documentation
Xceed.DockingWindows Namespace / DockLayoutManager Class / AllowFloating Property


In This Topic
    AllowFloating Property
    In This Topic
    Gets or sets a boolean value indicating whether docked ToolWindows can become floating.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if docked ToolWindows can become floating.")>
    <CategoryAttribute("Behavior")>
    Public Property AllowFloating As Boolean
    'Usage
     
    Dim instance As DockLayoutManager
    Dim value As Boolean
     
    instance.AllowFloating = value
     
    value = instance.AllowFloating
    [Description("Indicates if docked ToolWindows can become floating.")]
    [Category("Behavior")]
    public bool AllowFloating {get; set;}

    Property Value

    true if docked ToolWindows can become floating; false otherwise. By default, true.
    Remarks

    The AllowFloating property does not change the current state of ToolWindows (i.e., . floating ToolWindows will remain floating even if AllowFloating is set to false).

    This property only applies to end-user interactivity with ToolWindows; it does not prevent the state or visibility of ToolWindows from being changed programmatically.

    To reset the value of the AllowFloating property to its default value, the ResetAllowFloating method must be called.

    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