BaseLayoutItem.AllowHide Property

Gets or sets whether the item can be hidden (auto-hidden, for dock items). This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v20.1.dll

Declaration

public bool AllowHide { get; set; }
Public Property AllowHide As Boolean

Property Value

Type Description
Boolean

true if the item can be hidden (auto-hidden, for dock items); otherwise, false.

Remarks

Layout items can be hidden via the LayoutController.Hide method of the DockLayoutManager.LayoutController object.

To make a specific dock item auto-hidden in code, use the DockController.Hide method provided by the DockLayoutManager.DockController object. In XAML, you can create an auto-hidden panel by creating an AutoHideGroup, adding a panel to the group, and then adding the group to the DockLayoutManager.AutoHideGroups collection.

See Also