Factory.GetRibbonFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that you can use to create Ribbon controls at run time.
public:
Microsoft::Office::Tools::Ribbon::RibbonFactory ^ GetRibbonFactory();
public Microsoft.Office.Tools.Ribbon.RibbonFactory GetRibbonFactory ();
abstract member GetRibbonFactory : unit -> Microsoft.Office.Tools.Ribbon.RibbonFactory
Public Function GetRibbonFactory () As RibbonFactory
Returns
An object that you can use to create Ribbon controls at run time.
Remarks
When you create a Ribbon control at run time, you can add it to a custom Ribbon that you created by using the Ribbon (Visual Designer) project item in an Office project. For more information, see Ribbon Object Model Overview.