Sdílet prostřednictvím


Factory.GetRibbonFactory Method

Definition

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.

Applies to