RibbonFactory.CreateRibbonGallery Method
Creates a RibbonGallery object that represents a control that displays a menu of RibbonDropDownItem objects and RibbonButton controls.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function CreateRibbonGallery As RibbonGallery
RibbonGallery CreateRibbonGallery()
Return Value
Type: Microsoft.Office.Tools.Ribbon.RibbonGallery
A Ribbon gallery.
.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.