NavBarHitInfo Class

Contains information about the control’s section located under a specified point.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public class NavBarHitInfo :

The following members accept/return NavBarHitInfo objects:


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.


See Also