Compartilhar via


RibbonMenu.ShowLabel Property

Definition

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

public:
 property bool ShowLabel { bool get(); void set(bool value); };
public bool ShowLabel { get; set; }
member this.ShowLabel : bool with get, set
Public Property ShowLabel As Boolean

Property Value

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.

Applies to