RibbonDropDown.Buttons 属性

定义

获取属于此 RibbonDropDownRibbonButton 对象集合。

public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonButton> Buttons { get; }

属性值

IList<RibbonButton>

一个属于此 RibbonDropDownRibbonButton 对象集合。

注解

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

只能将按钮添加到 Buttons 属性,然后才能加载功能区。 有关详细信息,请参阅功能区对象模型概述

适用于