RibbonManager Class (2007 System)

Manages the custom Ribbons in a Visual Studio Tools for Office project.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public NotInheritable Class RibbonManager _
    Implements IRibbonExtensibility, IReflect, IDisposable
'Usage
Dim instance As RibbonManager
public sealed class RibbonManager : IRibbonExtensibility, 
    IReflect, IDisposable
public ref class RibbonManager sealed : IRibbonExtensibility, 
    IReflect, IDisposable
public final class RibbonManager implements IRibbonExtensibility, IReflect, IDisposable

Remarks

Use this class if you have multiple Ribbons in your project, and you want to specify which one is displayed at run time. To do this, override the CreateRibbonExtensibilityObject method of the ThisAddIn, ThisWorkbook, or ThisDocument class, and return a new RibbonManager object that contains the OfficeRibbon object (or objects, for Outlook) that you want to display. For more information, see Ribbon Overview.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Tools.Ribbon.RibbonManager

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RibbonManager Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Overview

Ribbon Object Model Overview