共用方式為


RibbonGallery.Buttons 屬性

取得這個 RibbonGallery 上的按鈕集合。

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

語法

'宣告
ReadOnly Property Buttons As IList(Of RibbonButton)
IList<RibbonButton> Buttons { get; }

屬性值

型別:System.Collections.Generic.IList<RibbonButton>
這個 RibbonGallery 上的按鈕集合。

備註

您可以在執行階段,將按鈕加入至這個 RibbonGallery。 如需詳細資訊,請參閱RibbonGallery

.NET Framework 安全性

請參閱

參考

RibbonGallery 介面

Microsoft.Office.Tools.Ribbon 命名空間

其他資源

功能區物件模型概觀