RibbonDropDown.Buttons Property

 

Gets a collection of RibbonButton objects that belong to this RibbonDropDown.

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

IList<RibbonButton> Buttons { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonButton>

A collection of RibbonButton objects that belong to this RibbonDropDown.

The RibbonDropDown control can contain both RibbonDropDownItem controls and RibbonButton controls.

You can add buttons to the Buttons property only before the Ribbon loads. For more information, see Ribbon Object Model Overview.

Return to top
Show: