Partilhar via


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

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace