# GH_Ribbon class

Namespace: [Grasshopper.GUI.Ribbon](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.ribbon.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[DesignerGenerated]
public class GH_Ribbon : UserControl, IGH_FixedSizeControl
```

## Fields

- [m_focus_item](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/m-focus-item.md)

## Properties

- [ActiveObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/activeobject.md): Gets or sets the Active object. The active object can be any class which implements the IGH_RibbonInteractiveObject interface. Under normal circumstances it will most likely be a RibbonItem or a class derived from RibbonItem.
- [ActiveTab](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/activetab.md): Getsor sets the first active tab or Null is no active tab is defined
- [ActiveTabIndex](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/activetabindex.md): Gets or sets the current tab index.
- [ActiveTabName](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/activetabname.md): Gets or sets the active tab by name.
- [IsActiveObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/isactiveobject.md)
- [Tabs](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/tabs.md): Gets the tabs collection.
- [TooltipDelay](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/tooltipdelay.md)

## Methods

- [AmIFocused](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/amifocused.md)
- [CreateRibbonLayoutMenu](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/createribbonlayoutmenu.md)
- [DetermineFocusItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/determinefocusitem.md)
- [Dispose](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/dispose.md)
- [FindAndDisplayProxy](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/findanddisplayproxy.md): Iterates over all tabs and panels to try and find the icon with the associated proxy id.
- [LayoutRibbon](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/layoutribbon.md)
- [NearestHeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/nearestheight.md)
- [NearestWidth](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/nearestwidth.md)
- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/onpaintbackground.md)
- [PopulateRibbon](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/populateribbon.md): Populate the entire Ribbon control from scratch. Call this function when you make a change to the state of the component library or ribbon layouts.
- [RenderFocusRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbon/renderfocusrectangle.md)
