共用方式為


RibbonMenu.Label Property

Definition

Gets or sets the text that is displayed by the menu.

public:
 property System::String ^ Label { System::String ^ get(); void set(System::String ^ value); };
public string Label { get; set; }
member this.Label : string with get, set
Public Property Label As String

Property Value

The text that is displayed by the menu.

Remarks

To hide the label, set the ShowLabel property to false.

Applies to