RibbonDropDown.Buttons 属性 (2007 system)

更新:2007 年 11 月

获取属于此 RibbonDropDown 的按钮的 RibbonButtonCollection

命名空间:  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 RibbonDropDown
Dim value As RibbonButtonCollection

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

属性值

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

属于此 RibbonDropDown 的按钮的 RibbonButtonCollection

备注

RibbonDropDown 控件可同时包含 RibbonDropDownItem 控件和 RibbonButton 控件。

只能在加载功能区之前将按钮添加到 Buttons 属性。有关更多信息,请参见功能区对象模型概述

权限

另请参见

参考

RibbonDropDown 类

RibbonDropDown 成员

Microsoft.Office.Tools.Ribbon 命名空间

RibbonDropDown.Items

RibbonDropDown

其他资源

功能区对象模型概述