'Declaration Public Property CanHide As Boolean
'Usage Dim instance As LayoutAnchorable Dim value As Boolean instance.CanHide = value value = instance.CanHide
public bool CanHide {get; set;}
Gets or sets whether an anchorable can be hidden.
'Declaration Public Property CanHide As Boolean
'Usage Dim instance As LayoutAnchorable Dim value As Boolean instance.CanHide = value value = instance.CanHide
public bool CanHide {get; set;}
When this property is set to true, an "x" glyph is displayed next to the anchorable's title.
When an anchorable is hidden, its Visibility is changed to false and IsHidden is set to true. As a result, it is not displayed at all (not autohidden, i.e., collapsed to one side of the docking manager). However, it is not removed from the layout. When an anchorable is closed, it is entirely removed from the layout.
Handle the Hiding event to cancel the Hide operation if necessary.
Target Platforms: Windows 11, Windows 10, 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