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

HitTest Enum

Lists values which identify the elements in a dock panel.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum HitTest

#Members

Name Description
None

The test point is not within a dock panel.

Border

The test point belongs to the dock panel’s border.

Client

The test point belongs to the dock panel’s client area.

Caption

The test point belongs to a dock panel’s caption.

TabPanel

The test point belongs to a tab panel in a tab container.

Tab

The test point belongs to a tab button in a tab container.

PrevTabButton

The test point belongs to a scroll button used to traverse backwards through the tabs in a tab container.

NextTabButton

The test point belongs to a scroll button used to traverse forwards through the tabs in a tab container.

AutoHidePanel

The test point belongs to the label within the auto hide container which corresponds to a dock panel with its auto hiding functionality enabled.

EmbeddedButtonPanel

The test point belongs to the header buttons panel, which contains both default and custom header buttons.

#Related API Members

The following properties accept/return HitTest values:

#Remarks

HitTest enumeration values are returned by the HitInfo.HitTest property of a HitInfo object. HitInfo objects can be created by calling the dock panel’s DockPanel.GetHitInfo method.

The following image illustrates the visual elements and their corresponding enumeration values.

HitTestType

See Also