共用方式為


RibbonLabel.Label Property

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

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Property Label As String
string Label { get; set; }

Property Value

Type: System.String
The text that is displayed by the label.

Remarks

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

.NET Framework Security

See Also

Reference

RibbonLabel Interface

Microsoft.Office.Tools.Ribbon Namespace