CompositeActivityDesigner.HitTest(Point) 方法

定义

获取有关 CompositeActivityDesigner 屏幕上指定点的信息。

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

参数

point
Point

表示单个 x 和 y 坐标的 A Point

返回

包含有关HitTestInfo指定点的信息的 ACompositeActivityDesigner

注解

HitTestInfo控件与 HitTest 控件的方法 CompositeActivityDesigner 一起用于确定单击的控件的 CompositeActivityDesigner 哪个部分。 包含 HitTestInfo 单击鼠标的点的 CompositeActivityDesigner 逻辑坐标。

该方法 HitTest 接收一个 Point 包含 x 和 y 坐标的坐标。

适用于