Dela via


RibbonComboBox.Items Property (2007 System)

Gets a collection of the items in this RibbonComboBox.

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

Syntax

'Declaration
Public ReadOnly Property Items As RibbonDropDownItemCollection
'Usage
Dim instance As RibbonComboBox 
Dim value As RibbonDropDownItemCollection 

value = instance.Items
public RibbonDropDownItemCollection Items { get; }
public:
virtual property RibbonDropDownItemCollection^ Items {
    RibbonDropDownItemCollection^ get () sealed;
}
public final function get Items () : RibbonDropDownItemCollection

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonDropDownItemCollection
A RibbonDropDownItemCollection that can be used to access the RibbonDropDownItem objects in this RibbonComboBox.

Remarks

You can add, remove, or update RibbonDropDownItem objects at design time or at run time.

.NET Framework Security

See Also

Reference

RibbonComboBox Class

RibbonComboBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview