MonthCalendar.HitTest Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
Retours
MonthCalendar.HitTestInfo contenant des informations à propos du point spécifié sur MonthCalendar.
Voir aussi
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour