TreeView for WinForms | ComponentOne
C1.Framework Namespace / XViewLight Class / HitTest Method / HitTest(Point) Method
Position to test.

In This Topic
    HitTest(Point) Method
    In This Topic
    Gets the hit-testable element at a given position.
    Syntax
    'Declaration
     
    
    Protected Overloads Function HitTest( _
       ByVal pt As Point _
    ) As Element
    protected Element HitTest( 
       Point pt
    )

    Parameters

    pt
    Position to test.

    Return Value

    Element at the given position.
    See Also