FlexChart | ComponentOne
C1.WPF.Chart Assembly / C1.WPF.Chart Namespace / FlexChart Class / HitTest Method / HitTest(Point,Boolean) Method
Point in control coordinates.
Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.

In This Topic
    HitTest(Point,Boolean) Method
    In This Topic
    Gets a HitTestInfo object with information about the specified point.
    Syntax
    'Declaration
     
    Public Overloads Function HitTest( _
       ByVal pt As Point, _
       ByVal testLines As Boolean _
    ) As HitTestInfo
    public HitTestInfo HitTest( 
       Point pt,
       bool testLines
    )

    Parameters

    pt
    Point in control coordinates.
    testLines
    Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.

    Return Value

    A HitTestInfo object with information about the point.
    See Also