HitTest Method (C1ControlAccessibleObject)
Retrieves the child object at the specified screen coordinates.
'Declaration
Public Overrides Function HitTest( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Windows.Forms.AccessibleObject
public override System.Windows.Forms.AccessibleObject HitTest(
System.int ,
System.int
)
Parameters
- x
- y
Return Value
An System.Windows.Forms.AccessibleObject that represents the child object at the given screen coordinates. This method returns the calling object if the object itself is at the location specified. Returns a null reference (Nothing in Visual Basic) if no object is at the tested location.