RibbonFactory.CreateRibbonDropDownItem Method
Creates a RibbonDropDownItem object that represents an item in a drop-down control.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonDropDownItem As RibbonDropDownItem
RibbonDropDownItem CreateRibbonDropDownItem()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonDropDownItem
An item in a Ribbon drop-down control.
.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.