Skip to main content

NavBarHitInfo Class

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

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

Declaration

public class NavBarHitInfo :
    ICloneable

The following members 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.

Inheritance

Object
NavBarHitInfo
See Also