RibbonBox.Items Property
Gets a collection of the controls that are on this RibbonBox object.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
ReadOnly Property Items As IList(Of RibbonControl)
IList<RibbonControl> Items { get; }
Property Value
Type: System.Collections.Generic.IList<RibbonControl>
A collection of controls 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace