'DeclarationPublic Property CanHide As Boolean
'UsageDim 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.
'DeclarationPublic Property CanHide As Boolean
'UsageDim 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.
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.