RibbonButtonGroup.Items 属性

获取此 RibbonButtonGroup 中包含的控件。

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

语法

声明
<BrowsableAttribute(False)> _
ReadOnly Property Items As IList(Of RibbonControl)
    Get
[BrowsableAttribute(false)]
IList<RibbonControl> Items { get; }

属性值

类型:System.Collections.Generic.IList<RibbonControl>
在设计时添加到此 RibbonButtonGroup 的控件的集合。

备注

若要将控件添加到 RibbonButtonGroup,请将**“Button”“Gallery”“Menu”“SplitButton”“ToggleButton”“工具箱”“Office 功能区控件”选项卡拖动到“功能区设计器”**中。

可以在设计时将控件添加到 RibbonButtonGroup 集合中。 仅在某些特定的条件下,才可以在运行时将控件添加到此集合中。 有关更多信息,请参见 功能区对象模型概述

.NET Framework 安全性

请参见

参考

RibbonButtonGroup 接口

Microsoft.Office.Tools.Ribbon 命名空间

其他资源

功能区对象模型概述