Freigeben über


RibbonToggleButton.Label Property

Gets or sets the text on the toggle button.

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 appears on this RibbonToggleButton control.

Remarks

This property can be changed at run time.

.NET Framework Security

See Also

Reference

RibbonToggleButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview