Skip to main content
A newer version of this page is available. .

LayoutPanel.AutoHideExpandState Property

Gets or sets whether the current auto-hidden panel is hidden, visible or expanded. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

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

Declaration

public AutoHideExpandState AutoHideExpandState { get; set; }

Property Value

Type Description
DevExpress.Xpf.Docking.Base.AutoHideExpandState

An DevExpress.Xpf.Docking.Base.AutoHideExpandState enumeration value that specifies whether the current auto-hidden panel is hidden, visible or expanded.

Remarks

The AutoHideExpandState property allows you to get or set the state of the current auto-hidden panel in code. The DevExpress.Xpf.Docking.Base.AutoHideExpandState enumeration provides the following values.

Value

Description

Hidden

The panel is hidden from view, as Panel1 in the figure below.

LayoutPanel_AutoHideExpandState_Hidden

Visible

The panel is visible, but not expanded.

LayoutPanel_AutoHideExpandState_Visible

Expanded

The panel is expanded up to the entire window client area.

LayoutPanel_AutoHideExpandState_Expanded

In the In-line auto-hide mode (see DockLayoutManager.AutoHideMode), auto-hidden panels display the Hide (see LayoutPanel.ShowHideButton), Collapse (see LayoutPanel.ShowCollapseButton) and Expand (see LayoutPanel.ShowExpandButton) buttons, which allow an end-user to manipulate the panel’s auto-hide state at run time.

See Also