CompositeActivityDesigner.HitTest Method (Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets information about the CompositeActivityDesigner at a specified point on the screen.

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public override HitTestInfo HitTest(
	Point point
)

Parameters

point
Type: System.Drawing.Point

A Point that represents a single x and y coordinate.

Return Value

Type: System.Workflow.ComponentModel.Design.HitTestInfo

A HitTestInfo that contains information about the CompositeActivityDesigner at a specified point.

The HitTestInfo, together with the HitTest method of the CompositeActivityDesigner control is used to determine which part of a CompositeActivityDesigner controls you have clicked. The HitTestInfo contains logical coordinates of the point on the CompositeActivityDesigner where the mouse was clicked.

The HitTest method receives a Point that contains an x and y coordinate.

.NET Framework
Available since 3.0
Return to top
Show: