ActivityDesigner.HitTest(Point) 方法

定义

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

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

参数

point
Point

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

返回

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

注解

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

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

适用于