RibbonSplitButton.ItemSize Property
Gets or sets the size of the controls on the RibbonSplitButton drop-down menu.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Property ItemSize As RibbonControlSize
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 RibbonSplitButton drop-down menu.
Remarks
To enlarge controls that are on the RibbonSplitButton drop-down menu, set the ItemSize property 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 RibbonSplitButton control, see the ControlSize property.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace