# TabLabel 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 TabLabel
```

Represents the clickable label of a [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md).

## Constructors

- [TabLabel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/ctor.md): Create a new tab label.

## Properties

- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/bounds.md): Gets the bounds of this label on the [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md). This property is assigned during every proxy panel layout.
- [Chapter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/chapter.md): Gets the text to display
- [DisplayName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/displayname.md)
- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/size.md): Gets the size used for the whole label. Including padding and rounding.
- [Visible](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/visible.md): Gets the visibility of this label on the [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md). This property is assigned during every proxy panel layout.

## Methods

- [Expand](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/expand.md): Begins the expansion animation.
- [Lower](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/lower.md): Begins the lowering animation.
- [Raise](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/raise.md): Begins the raising animation.
- [Shrink](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tablabel/shrink.md): Begins the shrinking animation.
