RibbonMenu.ShowLabel Property

Gets or sets a value that indicates whether the label for the menu is visible.

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

Syntax

'Declaration
Property ShowLabel As Boolean
bool ShowLabel { get; set; }

Property Value

Type: System.Boolean
true if the label for the menu is visible; otherwise, false. The default is true.

Remarks

This property is always true if you set the ControlSize property to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

.NET Framework Security

See Also

Reference

RibbonMenu Interface

Microsoft.Office.Tools.Ribbon Namespace