Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public AutoHideExpandState AutoHideExpandState { get; set; }

Property Value

Type Description
AutoHideExpandState

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

Available values:

Name Description
Hidden

The panel is hidden from view.

LayoutPanel_AutoHideExpandState_Hidden

Visible

The panel is visible, but not expanded.

LayoutPanel_AutoHideExpandState_Visible

Expanded

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

LayoutPanel_AutoHideExpandState_Expanded

Remarks

When the DockLayoutManager.AutoHideMode property is Inline, auto-hidden panels display the following buttons:

Button Property
Hide LayoutPanel.ShowHideButton
Collapse LayoutPanel.ShowCollapseButton
Expand LayoutPanel.ShowExpandButton

These buttons allow an end user to manipulate the panel’s auto-hide state at runtime.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoHideExpandState property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also