Skip to main content
A newer version of this page is available. .

HitInfo.HitTest Property

Gets or sets a value identifying the type of the visual element located under the test point.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

public HitTest HitTest { get; set; }

Property Value

Type Description
HitTest

A HitTest enumeration value identifying the type of the visual element under the test point.

Available values:

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HitTest property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also