AutoHideGroup.AutoHideType Attached Property
Gets or sets the position where a panel is auto-hidden. This is an attached property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v19.1.dll
Declaration
Returns
Type | Description |
---|---|
AutoHideType | An AutoHideType value that specifies the position where a panel is auto-hidden. |
Remarks
Manually changing the AutoHideType property makes sense when there is only one panel within a container, and you need to customize the position where the panel should be hidden when the auto-hide functionality is enabled. By default, if the layout consists of a single panel, the panel is auto-hidden at the left edge. To hide it at another edge, set the AutoHideType property accordingly.
Note that the AutoHideType property is automatically reset to Default each time a panel is re-docked. You can handle the DockLayoutManager.DockItemEndDocking event to respond to a panel being docked and then set the AutoHideType property according to your needs.
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking"
<dxdo:LayoutPanel Name="panel1"
Caption="Panel will be auto-hidden at the bottom"
dxdo:AutoHideGroup.AutoHideType="Bottom" />