# TabGroup class

Namespace: [Grasshopper2.UI.TabbedPanel](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.tabbedpanel.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class TabGroup
```

Represents a group of one or more hidden [TabLabel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel.md)s in a [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md) layout.

## Constructors

- [TabGroup](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabgroup/ctor.md): Create a new empty tab group.

## Properties

- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabgroup/bounds.md): Gets the bounds of this group.
- [Count](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabgroup/count.md): Gets the number of tabs in this group. Visible groups must contain at least a single tab.
- [Tabs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabgroup/tabs.md): Enumerate over all tabs in this group.

## Methods

- [AnimateShrinkage](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabgroup/animateshrinkage.md): Animate the shrinkage value based on the current Count.
