Xceed Docking Windows for WinForms v2.3 Documentation
AllowHide Property


Xceed.DockingWindows Namespace > DockLayoutManager Class : AllowHide Property
Gets or sets a boolean value indicating whether ToolWindows can be hidden by displaying or removing the hide glyph and the "Hide" option from the context menu.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if ToolWindows can be hidden by displaying or removing the hide glyph and the "Hide" option from the context menu.")>

<CategoryAttribute("Behavior")>

Public Property AllowHide As Boolean
'Usage
 
Dim instance As DockLayoutManager

Dim value As Boolean

 

instance.AllowHide = value

 

value = instance.AllowHide
[Description("Indicates if ToolWindows can be hidden by displaying or removing the hide glyph and the "Hide" option from the context menu.")]

[Category("Behavior")]

public bool AllowHide {get; set;}

Property Value

true if ToolWindows can be hidden by displaying or removing the hide glyph and the "Hide" option from the context menu; false otherwise. By default, true.
Remarks

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 AllowHide property to its default value, the ResetAllowHide 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

Reference

DockLayoutManager Class
DockLayoutManager Members