CompositeActivityDesigner.HitTest(Point) Method

Definition

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

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

A Point that represents a single x and y coordinate.

Returns

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

Remarks

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.

Applies to