GridItemCollection.Item[] Propriété
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.
Obtient un objet GridItem dans la collection.
Surcharges
Item[Int32] |
Obtient l'objet GridItem à l'index spécifié. |
Item[String] |
Obtient le GridItem ayant l'étiquette correspondante. |
Item[Int32]
Obtient l'objet GridItem à l'index spécifié.
public:
property System::Windows::Forms::GridItem ^ default[int] { System::Windows::Forms::GridItem ^ get(int index); };
public System.Windows.Forms.GridItem this[int index] { get; }
member this.Item(int) : System.Windows.Forms.GridItem
Default Public ReadOnly Property Item(index As Integer) As GridItem
Paramètres
- index
- Int32
Index de l'élément de grille à retourner.
Valeur de propriété
GridItem au niveau de l'index spécifié.
S’applique à
Item[String]
Obtient le GridItem ayant l'étiquette correspondante.
public:
property System::Windows::Forms::GridItem ^ default[System::String ^] { System::Windows::Forms::GridItem ^ get(System::String ^ label); };
public System.Windows.Forms.GridItem this[string label] { get; }
public System.Windows.Forms.GridItem? this[string label] { get; }
member this.Item(string) : System.Windows.Forms.GridItem
Default Public ReadOnly Property Item(label As String) As GridItem
Paramètres
- label
- String
Valeur de chaîne à faire correspondre à une étiquette d’élément de grille.
Valeur de propriété
Élément de grille dont l'étiquette correspond au paramètre label
.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour