Share via


RibbonToggleButton.ShowLabel Property

Definition

Gets or sets a value that indicates whether the label for the RibbonToggleButton 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 RibbonToggleButton 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.

This property can be changed at run time.

Applies to