RibbonMenu.ItemSize Property

Gets or sets the size of the controls on the menu.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

RibbonControlSize ItemSize { get; set; }

Property Value

Type: Microsoft.Office.Core.RibbonControlSize
A Microsoft.Office.Core.RibbonControlSize that represents the size of the controls on the menu. The default is Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular.

To enlarge controls that are on the menu, set the ItemSize property of the parent menu to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

To change the size of the menu, use the ControlSize property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft