RibbonMenu.Label Property

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

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

string Label { get; set; }

Property Value

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

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft