This documentation is archived and is not being maintained.

OfficeRibbon Class (2007 System)

Serves as the base class for Microsoft Office Ribbon customizations.

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

public class OfficeRibbon : RibbonComponent

The OfficeRibbon contains methods and properties that are common to all Ribbon classes.

When you add a new Ribbon (Visual Designer) item to a project, Visual Studio Tools for Office adds an OfficeRibbon to your project.

For more information, see Ribbon Designer.

Some properties of this class can be set only before the Ribbon is loaded into the Office application. For information about setting these properties, see Ribbon Object Model Overview.

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