Back to Devexpress

AutoHideGroup.AutoHideType Attached Property

wpf-devexpress-dot-xpf-dot-docking-dot-autohidegroup-ad33c77c.md

latest2.3 KB
Original Source

AutoHideGroup.AutoHideType Attached Property

Gets or sets the panel’s position when it is hidden. This is an attached property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

See GetAutoHideType(DependencyObject) and SetAutoHideType(DependencyObject, AutoHideType).

Returns

TypeDescription
AutoHideType

The panel’s position.

|

Remarks

When the layout consists of a single panel, the panel is auto-hidden to the Left.

The following code sample docks the AutoHideGroup to the DockLayoutManager ‘s bottom when it is hidden and to the right when the group is expanded:

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>
    <dxdo:DockLayoutManager.AutoHideGroups>
      <dxdo:AutoHideGroup DockType="Right">
        <dxdo:LayoutPanel Caption="Panel1" dxdo:AutoHideGroup.AutoHideType="Bottom">
          <!-- Content -->
        </dxdo:LayoutPanel>
      </dxdo:AutoHideGroup>
    </dxdo:DockLayoutManager.AutoHideGroups>
  </dxdo:DockLayoutManager>
</dx:ThemedWindow>

A panel’s AutoHideType property sets to Default each time you re-dock the panel. You can handle the DockLayoutManager.DockItemEndDocking event to get a notification when a panel is being docked and then set the AutoHideType property.

See Also

DockItemEndDocking

AutoHideGroup Class

AutoHideGroup Members

DevExpress.Xpf.Docking Namespace