RibbonDropDown.Buttons Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of RibbonButton objects that belong to this RibbonDropDown.
public:
property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonButton ^> ^ Buttons { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonButton ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonButton> Buttons { get; }
member this.Buttons : System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonButton>
Public ReadOnly Property Buttons As IList(Of RibbonButton)
Property Value
A collection of RibbonButton objects that belong to this RibbonDropDown.
Remarks
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.