RibbonGallery.Items Property (2007 System)
Gets a collection of the RibbonDropDownItem components in this RibbonGallery.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Items As RibbonDropDownItemCollection
'Usage
Dim instance As RibbonGallery
Dim value As RibbonDropDownItemCollection
value = instance.Items
[BrowsableAttribute(false)]
public RibbonDropDownItemCollection Items { get; }
[BrowsableAttribute(false)]
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 controls in this RibbonGallery.
Remarks
You can add RibbonDropDownItem objects to a RibbonGallery at design time or at run time.
.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