Compartir a través de


RibbonGallery.ControlSize Propiedad

Definición

Obtiene o establece el tamaño del control RibbonGallery .

public:
 property Microsoft::Office::Core::RibbonControlSize ControlSize { Microsoft::Office::Core::RibbonControlSize get(); void set(Microsoft::Office::Core::RibbonControlSize value); };
public Microsoft.Office.Core.RibbonControlSize ControlSize { get; set; }
member this.ControlSize : Microsoft.Office.Core.RibbonControlSize with get, set
Public Property ControlSize As RibbonControlSize

Valor de propiedad

Microsoft.Office.Core.RibbonControlSize que representa el tamaño del RibbonGallery control.

Comentarios

Esta propiedad no tiene ningún efecto si RibbonGallery forma parte de un menú. El ControlSize de un RibbonGallery objeto que aparece en un menú siempre se establece en a Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular menos que el control ItemSize primario esté establecido en Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

Para que RibbonSplitButton los controles de menú desplegable aparezcan más grandes, establezca la ItemSize propiedad de en RibbonSplitButtonMicrosoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

Esta propiedad se puede establecer en tiempo de ejecución.

Se aplica a