Compartir a través de


RibbonButton.ShowLabel Property

Definition

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

Applies to