Gets or sets the size of the RibbonGallery control.
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
This property has no effect if the RibbonGallery is part of a menu. The of a RibbonGallery that appears on a menu is always set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeRegular unless the parent control's ItemSize is set to Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge.
This property can be set at run time.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.