FreeformActivityDesigner.HitTest(Point) Method

Definition

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

public:
 override System::Workflow::ComponentModel::Design::HitTestInfo ^ HitTest(System::Drawing::Point point);
public override System.Workflow.ComponentModel.Design.HitTestInfo HitTest (System.Drawing.Point point);
override this.HitTest : System.Drawing.Point -> System.Workflow.ComponentModel.Design.HitTestInfo
Public Overrides Function HitTest (point As Point) As HitTestInfo

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