RibbonGallery.Buttons 属性 (2007 system)

更新:2007 年 11 月

获取此 RibbonGallery 上的按钮的集合。

命名空间:  Microsoft.Office.Tools.Ribbon
程序集:  Microsoft.Office.Tools.Common.v9.0(在 Microsoft.Office.Tools.Common.v9.0.dll 中)

语法

声明
Public ReadOnly Property Buttons As RibbonButtonCollection
用法
Dim instance As RibbonGallery
Dim value As RibbonButtonCollection

value = instance.Buttons
public RibbonButtonCollection Buttons { get; }

属性值

类型:Microsoft.Office.Tools.Ribbon.RibbonButtonCollection

RibbonGallery 上的按钮的集合。

备注

可以在运行时将按钮添加到此 RibbonGallery。有关更多信息,请参见 RibbonGallery

权限

另请参见

参考

RibbonGallery 类

RibbonGallery 成员

Microsoft.Office.Tools.Ribbon 命名空间

其他资源

功能区对象模型概述