Share via


ActivityDesigner.HitTest(Point) Méthode

Définition

Obtient les informations concernant l'ActivityDesigner à un point spécifié sur l'écran.

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

Paramètres

point
Point

Point qui représente une coordonnée x et y unique.

Retours

HitTestInfo

HitTestInfo qui contient des informations sur le ActivityDesigner à un point spécifié.

Remarques

Le HitTestInfo, conjointement à la méthode HitTest du contrôle ActivityDesigner, est utilisé pour déterminer la partie d'un contrôle ActivityDesigner sur laquelle l'utilisateur a cliqué. Le HitTestInfo contient les coordonnées logiques du point sur le ActivityDesigner où le clic de souris a été effectué.

La méthode HitTest reçoit un Point qui contient une coordonnée x et y.

S’applique à