Share via


RibbonSplitButton.ItemSize Property

Definition

Gets or sets the size of the controls on the RibbonSplitButton drop-down menu.

public:
 property Microsoft::Office::Core::RibbonControlSize ItemSize { Microsoft::Office::Core::RibbonControlSize get(); void set(Microsoft::Office::Core::RibbonControlSize value); };
public Microsoft.Office.Core.RibbonControlSize ItemSize { get; set; }
member this.ItemSize : Microsoft.Office.Core.RibbonControlSize with get, set
Public Property ItemSize As RibbonControlSize

Property Value

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.

Applies to