ActivityDesigner.HitTest(Point) Method

Definition

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

C#
public virtual System.Workflow.ComponentModel.Design.HitTestInfo HitTest(System.Drawing.Point point);

Parameters

point
Point

A Point that represents a single x and y coordinate.

Returns

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

Remarks

The HitTestInfo, together with the HitTest method of the ActivityDesigner control is used to determine which part of an ActivityDesigner control the user has clicked. The HitTestInfo contains logical coordinates of the point on the ActivityDesigner where the mouse was clicked.

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

Applies to

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1