共用方式為


RibbonBox.Items 屬性 (2007 系統)

更新:2007 年 11 月

取得這個 RibbonBox 物件上的控制項集合。

命名空間:  Microsoft.Office.Tools.Ribbon
組件:  Microsoft.Office.Tools.Common.v9.0 (在 Microsoft.Office.Tools.Common.v9.0.dll 中)

語法

Public ReadOnly Property Items As RibbonComponentCollection(Of RibbonControl)

Dim instance As RibbonBox
Dim value As RibbonComponentCollection(Of RibbonControl)

value = instance.Items
public RibbonComponentCollection<RibbonControl> Items { get; }

屬性值

型別:Microsoft.Office.Tools.Ribbon.RibbonComponentCollection<RibbonControl>

RibbonComponentCollection<T>,可在設計階段用來存取已加入至這個 RibbonBox 的控制項。

備註

這個屬性只能在特定條件下於執行階段設定。如需詳細資訊,請參閱功能區物件模型概觀

使用權限

請參閱

參考

RibbonBox 類別

RibbonBox 成員

Microsoft.Office.Tools.Ribbon 命名空間

其他資源

功能區物件模型概觀