[]
        
(Showing Draft Content)

C1.WinUI.Chart.FlexChart.HitTest

HitTest Method

HitTest(Point)

Gets a HitTestInfo object with information about the specified point.

Declaration
public override HitTestInfo HitTest(Point pt)
Public Overrides Function HitTest(pt As Point) As HitTestInfo
Parameters
Type Name Description
Point pt

Point in control coordinates.

Returns
Type Description
HitTestInfo

A HitTestInfo object with information about the point.

Overrides

HitTest(Point, bool)

Gets a HitTestInfo object with information about the specified point.

Declaration
public HitTestInfo HitTest(Point pt, bool testLines)
Public Function HitTest(pt As Point, testLines As Boolean) As HitTestInfo
Parameters
Type Name Description
Point pt

Point in control coordinates.

bool testLines

Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.

Returns
Type Description
HitTestInfo

A HitTestInfo object with information about the point.