RibbonToggleButton.ControlSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the size of the RibbonToggleButton control.
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
Property Value
A Microsoft.Office.Core.RibbonControlSize that represents the size of the RibbonToggleButton control.
Remarks
This property has no effect if the button is part of a menu. The Microsoft.Office.Core.RibbonControlSize
of a button that appears on a menu is always set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular
.
To change the size of a RibbonToggleButton on a menu, use the ItemSize property.