ControlDesigner.ControlDesignerAccessibleObject.HitTest Method (Int32, Int32)


Retrieves the child object at the specified screen coordinates.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

public override AccessibleObject HitTest(
	int x,
	int y


Type: System.Int32

The horizontal screen coordinate.

Type: System.Int32

The vertical screen coordinate.

Return Value

Type: System.Windows.Forms.AccessibleObject

An 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 null if no object is at the tested location.

.NET Framework
Available since 1.1
Return to top