RibbonFactory.CreateRibbonDropDown Method
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.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonDropDown As RibbonDropDown
RibbonDropDown CreateRibbonDropDown()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonDropDown
A Ribbon drop-down control.
Remarks
A RibbonDropDown can contain RibbonDropDownItem objects and RibbonButton controls.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.