TreeView for WinForms | ComponentOne
C1.Framework Namespace / XView 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
     
    
    Public Overloads Function HitTest( _
       ByVal pt As Point _
    ) As Element
    public Element HitTest( 
       Point pt
    )

    Parameters

    pt
    Position to test.

    Return Value

    Element at the given position.
    See Also