Back to Devexpress

LayoutPanel.AutoHideExpandState Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutpanel-5a104b4d.md

latest3.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public AutoHideExpandState AutoHideExpandState { get; set; }
vb
Public Property AutoHideExpandState As AutoHideExpandState

Property Value

TypeDescription
AutoHideExpandState

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

|

Available values:

NameDescription
Hidden

The panel is hidden from view.

| | Visible |

The panel is visible, but not expanded.

| | Expanded |

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

|

Remarks

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

ButtonProperty
HideLayoutPanel.ShowHideButton
CollapseLayoutPanel.ShowCollapseButton
ExpandLayoutPanel.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.

wpf-scheduler-use-entity-framework-to-bind-to-data/CS/DXSample/MainWindow.xaml#L33

xml
AllowFloat="False"
AutoHideExpandState="Visible"
Caption="Navigation"

wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L45

xml
AllowFloat="False"
AutoHideExpandState="Visible"
Caption="Navigation"

See Also

AutoHideMode

ShowHideButton

ShowCollapseButton

ShowExpandButton

LayoutPanel Class

LayoutPanel Members

DevExpress.Xpf.Docking Namespace