MonthCalendar.HitTest Méthode

Définition

Détermine l'élément du calendrier situé à un emplacement spécifié.

Surcharges

HitTest(Point)

Retourne un objet contenant des informations sur la partie d'un contrôle calendrier du mois située à un emplacement spécifié par un Point.

HitTest(Int32, Int32)

Retourne un MonthCalendar.HitTestInfo avec des informations sur la partie d'un contrôle calendrier du mois qui se trouve à l'emplacement désigné par des coordonnées x et y spécifiées.

HitTest(Point)

Retourne un objet contenant des informations sur la partie d'un contrôle calendrier du mois située à un emplacement spécifié par un Point.

public:
 System::Windows::Forms::MonthCalendar::HitTestInfo ^ HitTest(System::Drawing::Point point);
public System.Windows.Forms.MonthCalendar.HitTestInfo HitTest (System.Drawing.Point point);
member this.HitTest : System.Drawing.Point -> System.Windows.Forms.MonthCalendar.HitTestInfo
Public Function HitTest (point As Point) As MonthCalendar.HitTestInfo

Paramètres

point
Point

Point contenant les coordonnées X et Y du point à tester.

Retours

MonthCalendar.HitTestInfo contenant des informations à propos du point spécifié sur MonthCalendar.

Voir aussi

S’applique à

HitTest(Int32, Int32)

Retourne un MonthCalendar.HitTestInfo avec des informations sur la partie d'un contrôle calendrier du mois qui se trouve à l'emplacement désigné par des coordonnées x et y spécifiées.

public:
 System::Windows::Forms::MonthCalendar::HitTestInfo ^ HitTest(int x, int y);
public System.Windows.Forms.MonthCalendar.HitTestInfo HitTest (int x, int y);
member this.HitTest : int * int -> System.Windows.Forms.MonthCalendar.HitTestInfo
Public Function HitTest (x As Integer, y As Integer) As MonthCalendar.HitTestInfo

Paramètres

x
Int32

Coordonnée X du point à tester.

y
Int32

Coordonnée Y du point à tester.

Retours

MonthCalendar.HitTestInfo contenant des informations à propos du point spécifié sur MonthCalendar.

Voir aussi

S’applique à