FreeformActivityDesigner.HitTest(Point) 方法

定义

返回有关 FreeformActivityDesigner 工作流设计图面上指定坐标处的信息。

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

Point包含工作流设计图面上要从中收集信息的坐标。

返回

包含有关HitTestInfo指定坐标的信息的 AFreeformActivityDesigner

注解

HitTest 检查连接器上是否发生了位置或某个子活动设计器。 HitTest如果在正在拖动到另一位置的子活动上发生,HitTest则返回有关该位置的信息FreeformActivityDesigner,而不是要移动的设计器。

适用于