ToolStripItem.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the item.
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string Name { get; set; }
[System.ComponentModel.Browsable(false)]
public string? Name { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Name : string with get, set
Public Property Name As String
Property Value
A string representing the name. The default value is null
.
- Attributes
Remarks
The Name property can be used as a key into the ToolStripItemCollection.