RibbonToggleButton.ControlSize 属性

定义

获取或设置 RibbonToggleButton 控件的大小。

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

属性值

一个 Microsoft.Office.Core.RibbonControlSize,表示控件的大小 RibbonToggleButton

注解

如果按钮是菜单的一部分,则此属性不起作用。 Microsoft.Office.Core.RibbonControlSize菜单上显示的按钮的 始终设置为 Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular

若要更改菜单上 的大小 RibbonToggleButton ,请使用 ItemSize 属性。

适用于