共用方式為


RibbonFactory.CreateRibbonDropDown Method

Definition

Creates a RibbonDropDown object that represents a list of items that a user can choose from and a list of Ribbon buttons that a user can click.

public:
 Microsoft::Office::Tools::Ribbon::RibbonDropDown ^ CreateRibbonDropDown();
public Microsoft.Office.Tools.Ribbon.RibbonDropDown CreateRibbonDropDown ();
abstract member CreateRibbonDropDown : unit -> Microsoft.Office.Tools.Ribbon.RibbonDropDown
Public Function CreateRibbonDropDown () As RibbonDropDown

Returns

A Ribbon drop-down control.

Remarks

A RibbonDropDown can contain RibbonDropDownItem objects and RibbonButton controls.

Applies to