Back to Devexpress

DockLayoutManager.AutoHideExpandMode Property

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-fed8c6b6.md

latest2.7 KB
Original Source

DockLayoutManager.AutoHideExpandMode Property

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

Declaration

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

Property Value

TypeDescription
AutoHideExpandMode

The way an auto-hidden panel is expanded.

|

Available values:

NameDescription
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.

|

Remarks

The following code sample sets the DockLayoutManager AutoHideExpandMode to MouseDown:

xaml
<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

Dock Layout Manager: Visual Elements

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace