RibbonTab.Label Property

Gets or sets the text that appears on the tab.

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
A string that represents the text for the tab.

Remarks

For Office built-in tabs, this property cannot be changed at run time.

For custom tabs, the text can be changed at run time before the Ribbon is loaded.

.NET Framework Security

See Also

Reference

RibbonTab Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview