Skip to main content

NavBarHitInfo.CalcHitInfo(Point, NavBarHitTest[]) Method

Calculates hit information for the test point.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

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

Declaration

public virtual void CalcHitInfo(
    Point p,
    NavBarHitTest[] validLinkHotTracks
)

Parameters

Name Type Description
p Point

A System.Drawing.Point object specifying the test point.

validLinkHotTracks NavBarHitTest[]

An array of NavBarHitTest enumeration values which are valid for the current paint style.

Remarks

The CalcHitInfo method is used to fill properties of the NavBarHitInfo object with values identifying the control’s section over which the test point rests. This method is not intended to be used directly from your code. Use the NavBarControl.CalcHitInfo method instead. This method obtains the array of NavBarHitTest enumeration values which are valid for the current paint style and calls the CalcHitInfo method.

See Also