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.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
Declaration
Returns
Type | Description |
---|---|
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:
<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