Partager via


RibbonDropDownItemCollection, classe (System 2007)

Mise à jour : novembre 2007

Représente une collection d'objets RibbonDropDownItem.

Espace de noms :  Microsoft.Office.Tools.Ribbon
Assembly :  Microsoft.Office.Tools.Common.v9.0 (dans Microsoft.Office.Tools.Common.v9.0.dll)

Syntaxe

Public NotInheritable Class RibbonDropDownItemCollection _
    Inherits Collection(Of RibbonDropDownItem)

Dim instance As RibbonDropDownItemCollection
public sealed class RibbonDropDownItemCollection : Collection<RibbonDropDownItem>

Notes

RibbonComboBox, RibbonDropDown et RibbonGallery ont tous une propriété Items du type RibbonDropDownItemCollection. Utilisez la propriété Items pour ajouter des objets RibbonDropDownItem à leurs parents correspondants et les supprimer.

Hiérarchie d'héritage

System.Object
  System.Collections.ObjectModel.Collection<RibbonDropDownItem>
    Microsoft.Office.Tools.Ribbon.RibbonDropDownItemCollection

Sécurité des threads

Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Référence

Membres RibbonDropDownItemCollection

Microsoft.Office.Tools.Ribbon, espace de noms