NavBarHitInfo.CalcHitInfo(Point, NavBarHitTest[]) Method

Calculates hit information for the test point.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll

Declaration

public virtual void CalcHitInfo(
    Point p,
    NavBarHitTest[] validLinkHotTracks
)
Public Overridable Sub CalcHitInfo(
    p As Point,
    validLinkHotTracks As NavBarHitTest()
)

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