Xceed Toolkit Plus for WPF v4.6 Documentation
CanHide Property (LayoutAnchorable)


Xceed.Wpf.AvalonDock Assembly > Xceed.Wpf.AvalonDock.Layout Namespace > LayoutAnchorable Class : CanHide Property

Gets or sets whether an anchorable can be hidden.

Syntax
'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;}

Property Value

true if an anchorable can be hidden; false otherwise.
Remarks

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.

Requirements

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

See Also

Reference

LayoutAnchorable Class
LayoutAnchorable Members