Skip to main content

LayoutPanel.AutoHidden Property

Gets or sets whether the panel is currently auto-hidden. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v21.2.dll


public bool AutoHidden { get; set; }

Property Value

Type Description

true, if the panel is currently auto-hidden; otherwise, false. The default is false.


When you set an LayoutPanel’s AutoHidden property to true, the DockLayoutManager creates a new AutoHideGroup and puts the LayoutPanel to this group.

You can use this property to specify the initial state of the panel or make it auto-hidden in code. At run-time, an auto-hidden panel is expanded when clicked or hovered over with the mouse pointer (see DockLayoutManager.AutoHideExpandMode). The DockLayoutManager.AutoHideMode property allows you to specify whether the panel, when expanded, overlays other panels or is displayed in-line between them.

See Also