# GH_RibbonContentBase 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
public abstract class GH_RibbonContentBase
```

**Derived types:** [GH_RibbonItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbonitem.md), [GH_RibbonPanel](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbonpanel.md), [GH_RibbonTab](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribbontab.md)

## Fields

- [Region](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/region.md): Represents the entire region taken up by this object.

## Properties

- [ClientRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/clientregion.md): Gets the Client region of the layout. The client region as defined as the entire region minus the margin and the padding.
- [ContentRegion](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/contentregion.md): Gets or sets the Content region of the layout. The content region as defined as the entire region minus the margin.
- [Margin](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/margin.md)
- [Padding](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/padding.md)
- [Visible](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/visible.md): Gets or sets visibility of this control. Typically visibility affects drawing and mouse interaction

## Methods

- [Contains](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/contains.md): Tests to see if the given point is considered to be 'on' the control. By default, the content region of the control is tested, but derived classes can override this behaviour.
- [PerformLayout](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.ribbon.gh-ribboncontentbase/performlayout.md): This method is called when the control layout has potentially expired.
