Udostępnij za pośrednictwem


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)

Syntax

'Declaration
Public Class OfficeRibbon _
    Inherits RibbonComponent
'Usage
Dim instance As OfficeRibbon
public class OfficeRibbon : RibbonComponent
public ref class OfficeRibbon : public RibbonComponent
public class OfficeRibbon extends RibbonComponent

Remarks

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.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Office.Tools.Ribbon.RibbonComponent
        Microsoft.Office.Tools.Ribbon.OfficeRibbon

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

OfficeRibbon Members

Microsoft.Office.Tools.Ribbon Namespace