NavBarHitInfo Class
Contains information about the control’s section located under a specified point.
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v18.1.dll
Declaration
Related API Members
The following members accept/return NavBarHitInfo objects:
Remarks
The NavBarControl control provides 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.
Properties of the NavBarHitInfo object allow you to obtain two kinds of information. The first is information about the type of element residing under a specified point. It can, for instance, be obtained via the NavBarHitInfo.HitTest property. You can also obtain objects representing the group and link located under the test point. Use the NavBarHitInfo.Group and NavBarHitInfo.Link properties for this purpose.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the NavBarHitInfo class.
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.