FreeformActivityDesigner.HitTest(Point) Method

Definition

Returns information about the FreeformActivityDesigner at the specified coordinates on the workflow design surface.

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

Parameters

point
Point

The Point that contains the coordinates on the workflow design surface from which to gather information.

Returns

A HitTestInfo that contains information about the FreeformActivityDesigner at the specified coordinates.

Remarks

HitTest checks whether the location has occurred on a connector or one of the child activity designers. If the HitTest occurs on a child activity that is being dragged to another location, HitTest returns information about the FreeformActivityDesigner, not the designer being moved.

Applies to

产品 版本
.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