# Layout 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 static class Layout
```

A set of constants used in proxy tabbing layout.

## Fields

- [TabGroupWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabgroupwidth.md): (static) Width of tab groups.
- [TabRaising](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabraising.md): (static) The number of pixels difference between normal and elevated labels.

## Properties

- [GapHeight](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/gapheight.md): (static) The height of the 'gap' bar behind the tab labels.
- [ItemGap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/itemgap.md): (static) Gets the amount of empty space between panel items.
- [ItemSize](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/itemsize.md): (static) Gets the size of the item icons on the panels.
- [PanelBar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/panelbar.md): (static) Gets the height of the bar along the bottom of the panels where the panel name is visible.
- [PanelGap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/panelgap.md): (static) Gets the amount of empty space between panels.
- [SizingBar](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/sizingbar.md): (static) Gets the height of the bar along the bottom of the control which allows for resizing.
- [TabColour](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabcolour.md): (static) The thickness of the colour bar in the tab label shape.
- [TabHeight](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabheight.md): (static) The height of the tab label.
- [TabOverlap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/taboverlap.md): (static) The height of the overlap region between the tops of tab labels and the form background.
- [TabPadding](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabpadding.md): (static) The number of pixels between the tab label text and the shape edge.
- [TabRadius](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/tabradius.md): (static) The radius of the tab label shape.

## Methods

- [HeightOfControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/heightofcontrol.md): (static) Compute the height of a [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md) given a number of [TabPanel.Rows](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabpanel/rows.md).
- [HeightOfPanel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/heightofpanel.md): (static) Compute the height of a [TabControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabcontrol.md) given a number of [TabPanel.Rows](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.tabpanel/rows.md).

## Events

- [LayoutConstantsChanged](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.layout/layoutconstantschanged.md): (static) Raised when the layout constants are changed.
