RibbonComponent Class (2007 System)

Base class for controls on a custom Ribbon.

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

Syntax

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

Remarks

The RibbonComponent class contains methods and members that enable communication with Visual Studio, navigation through the control hierarchy in your application, and optimization of the run time layout of controls.

Some members of this class can be set only before the Ribbon is loaded into the Office application or before the control is added to a dynamic menu at run time. 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
        Microsoft.Office.Tools.Ribbon.RibbonControl
        Microsoft.Office.Tools.Ribbon.RibbonGroup
        Microsoft.Office.Tools.Ribbon.RibbonOfficeMenu
        Microsoft.Office.Tools.Ribbon.RibbonTab

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

RibbonComponent Members

Microsoft.Office.Tools.Ribbon Namespace