ActivityDesigner.HitTest(Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets information about the ActivityDesigner at a specified point on the screen.
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
Parameters
Returns
A HitTestInfo that contains information about the ActivityDesigner at a specified point.
Remarks
The HitTestInfo, together with the HitTest method of the ActivityDesigner control is used to determine which part of an ActivityDesigner control the user has clicked. The HitTestInfo contains logical coordinates of the point on the ActivityDesigner where the mouse was clicked.
The HitTest method receives a Point that contains an x and y coordinate.