Share via


RibbonTab Class (2007 System)

Contains one or more groups of controls on the Ribbon. This class cannot be inherited.

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

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(RibbonTab), "RibbonTab.bmp")> _
Public NotInheritable Class RibbonTab _
    Inherits RibbonComponent
'Usage
Dim instance As RibbonTab
[ToolboxBitmapAttribute(typeof(RibbonTab), "RibbonTab.bmp")]
public sealed class RibbonTab : RibbonComponent
[ToolboxBitmapAttribute(typeof(RibbonTab), L"RibbonTab.bmp")]
public ref class RibbonTab sealed : public RibbonComponent
public final class RibbonTab extends RibbonComponent

Remarks

There is a hierarchy for adding Ribbon controls. Only a RibbonTab control can be used on a Microsoft.Office.Tools.Ribbon control. Only a RibbonGroup can be used on a RibbonTab control.

The Ribbon Designer supports custom and built-in tabs.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Office.Tools.Ribbon.RibbonComponent
        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

RibbonTab Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Overview

Ribbon Designer

Ribbon Object Model Overview

How to: Get Started Customizing the Ribbon