Skip to main content

HitInfo.AutoHidePanel Property

Gets the panel which has its auto hide functionality enabled and whose corresponding label is located under the test point.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public DockPanel AutoHidePanel { get; set; }

Property Value

Type Description
DockPanel

A DockPanel object which represents the auto hidden dock panel to which the label located under the test point corresponds. null (Nothing in Visual Basic) if there is no label under the test point.

Remarks

Dock panels which have their automatic hiding functionality enabled are temporarily removed from the form. These panels are minimized to the auto-hide containers and represented onscreen only by their labels. The AutoHidePanel property returns the auto hidden dock panel whose label is located under the test point.

The AutoHidePanel property can also represent a tab container which is minimized to the auto hide container. To determine whether the AutoHidePanel property represents an auto hidden panel or tab container, read the HitInfo.HitTest property’s value. If this property returns the HitTest.Tab value, the AutoHidePanel property represents a tab container. Otherwise, if the HitTest.AutoHidePanel value is returned, the AutoHidePanel property represents an auto hidden dock panel.

See Also