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

An organised collection of chapters.

## Constructors

- [Composition](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/ctor.md): Create a new layout.

## Properties

- [Chapters](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/chapters.md): Gets all the chapters contained in this layout.

## Methods

- [Apply](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/apply.md): Apply one or more rules to this organisation.
- [FromItems<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/fromitems.md): (static) Create a new organisation from a collection of values.
- [Insert](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/insert.md): Insert a collection of items into this chapter.
- [Remove](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.tabbedpanel.composition/remove.md): Remove all indicated items from this chapter.
