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.

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