ConnectorAccessibleObject.HitTest Method (Int32, Int32)


Retrieves the child object at the specified screen coordinates.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.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 ConnectorAccessibleObject 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.

.NET Framework
Available since 3.0
Return to top