Skip to main content

NavBarHitTest Enum

Contains values identifying elements of the NavBarControl control.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public enum NavBarHitTest

Members

Name Description
None

The test point is not over one of the mentioned elements or outside the control.

GroupCaption

The test point is over a group caption.

GroupClient

The test point is over a group’s client area.

GroupCaptionButton

The test point is over a group expanding/collapsing button.

UpButton

The test point is over an up scroll button.

DownButton

The test point is over a down scroll button.

The test point is over a link.

LinkCaption

The test point is over a link caption.

LinkImage

The test point is over a link image.

NavigationPaneSplitter

The test point is over the splitter that divides the currently expanded group from group buttons when the “NavigationPane” view is applied.

NavigationPaneHeader

The test point is over the header that is displayed at the control’s top edge when the “NavigationPane” view is applied.

NavigationPaneOverflowPanel

The test point is over the empty region of the Overflow panel. This panel is available when the “NavigationPane” view is applied.

NavigationPaneOverflowPanelButton

The test point is over a button within the Overflow panel that is available when the “NavigationPane” view is applied.

GroupBottom

The test point is over a group’s bottom header, these are displayed when the XtraNavBar is painted using the SkinExplorerBarView style.

GroupBottomButton

The test point is over a button used to expand/collapse a group. Such a button is displayed at the bottom of each group when the XtraNavBar control is painted using the SkinExplorerBarView style.

ExpandButton

The test point belongs to the expand button (in the NavigationPane paint style).

ContentButton

The test point belongs to the content button (in the NavigationPane paint style).

Related API Members

The following properties accept/return NavBarHitTest values:

Remarks

The NavBarControl control gives you with the ability to determine the element of a control which resides under a specified test point. Use the NavBarControl.CalcHitInfo method for this purpose. It takes the test point as a parameter and returns the NavBarHitInfo object containing the desired information.

You can obtain the type of element located under the test point via the NavBarHitInfo.HitTest property. This property returns one of the values listed in the NavBarHitTest enumeration.

See Also