RibbonDropDownItemCollection Class (2007 System)
Represents a collection of RibbonDropDownItem objects.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public NotInheritable Class RibbonDropDownItemCollection _
Inherits Collection(Of RibbonDropDownItem)
'Usage
Dim instance As RibbonDropDownItemCollection
public sealed class RibbonDropDownItemCollection : Collection<RibbonDropDownItem>
public ref class RibbonDropDownItemCollection sealed : public Collection<RibbonDropDownItem^>
public final class RibbonDropDownItemCollection extends Collection<RibbonDropDownItem>
Remarks
The RibbonComboBox, RibbonDropDown, and RibbonGallery each have an Items property of the type RibbonDropDownItemCollection. Use the Items property to add RibbonDropDownItem objects to their corresponding parents, and to remove them.
Inheritance Hierarchy
System.Object
System.Collections.ObjectModel.Collection<RibbonDropDownItem>
Microsoft.Office.Tools.Ribbon.RibbonDropDownItemCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.