Share via


RibbonBox.Items Property (2007 System)

Gets a collection of the controls that are on this RibbonBox object.

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 RibbonComponentCollection(Of RibbonControl)
'Usage
Dim instance As RibbonBox 
Dim value As RibbonComponentCollection(Of RibbonControl)

value = instance.Items
public RibbonComponentCollection<RibbonControl> Items { get; }
public:
property RibbonComponentCollection<RibbonControl^>^ Items {
    RibbonComponentCollection<RibbonControl^>^ get ();
}
public function get Items () : RibbonComponentCollection<RibbonControl>

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonComponentCollection<RibbonControl>
A RibbonComponentCollection<T> that can be used to access the controls that were added to this RibbonBox at design time.

Remarks

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

.NET Framework Security

See Also

Reference

RibbonBox Class

RibbonBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview