Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public AutoHideExpandMode AutoHideExpandMode { get; set; }

#Property Value

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.

#Remarks

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