Leer en inglés

Compartir a través de


RibbonButton.ShowLabel Property

Definition

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

C#
public bool ShowLabel { get; set; }

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

Producto Versiones
Visual Studio Tools for Office 2017, 2019, 2022