Input for WinForms | ComponentOne
C1.Framework Namespace / Element Class / HitTest Method
Point to check.

In This Topic
    HitTest Method (Element)
    In This Topic
    Returns the element at a given point.
    Syntax
    'Declaration
     
    
    Public Overridable Function HitTest( _
       ByVal pt As Point _
    ) As Element
    public virtual Element HitTest( 
       Point pt
    )

    Parameters

    pt
    Point to check.

    Return Value

    The element at the point.
    See Also