RibbonButton.ShowLabel Property

Gets or sets a value that indicates whether the label for the button 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 button is visible; otherwise, false. The default is true.

Remarks

If the ControlSize property is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge, the button behaves as if ShowLabel is always true.

.NET Framework Security

See Also

Reference

RibbonButton Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview