ToolStripItem.Name Proprietà

Definizione

Ottiene o imposta il nome dell'elemento.

C#
[System.ComponentModel.Browsable(false)]
public string Name { get; set; }

Valore della proprietà

String

Stringa che rappresenta il nome. Il valore predefinito è null.

Attributi

Commenti

La Name proprietà può essere usata come chiave in ToolStripItemCollection.

Si applica a

Prodotto Versioni
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7