wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-fed8c6b6.md
Gets or sets how an auto-hidden panel is expanded. This is a dependency property.
Namespace : DevExpress.Xpf.Docking
Assembly : DevExpress.Xpf.Docking.v25.2.dll
NuGet Package : DevExpress.Wpf.Docking
public AutoHideExpandMode AutoHideExpandMode { get; set; }
Public Property AutoHideExpandMode As AutoHideExpandMode
| Type | Description |
|---|---|
| AutoHideExpandMode |
The way an auto-hidden panel is expanded.
|
Available values:
| Name | Description |
|---|---|
| Default |
The same as the AutoHideExpandMode.MouseHover option.
| | MouseHover |
An auto-hidden panel is expanded when hovered over by the mouse.
| | MouseDown |
An auto-hidden panel is expanded when clicked.
|
The following code sample sets the DockLayoutManager AutoHideExpandMode to MouseDown:
<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
<dxdo:DockLayoutManager AutoHideExpandMode="MouseDown">
<dxdo:DockLayoutManager.AutoHideGroups>
<dxdo:AutoHideGroup DockType="Right">
<dxdo:LayoutPanel Caption="Panel1">
<!-- Content -->
</dxdo:LayoutPanel>
</dxdo:AutoHideGroup>
</dxdo:DockLayoutManager.AutoHideGroups>
</dxdo:DockLayoutManager>
</dx:ThemedWindow>
See Also