# RcpLayout class

Namespace: [Grasshopper.GUI.RemotePanel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.remotepanel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class RcpLayout : GH_ISerializable, IEnumerable<RcpGroup>
```

Represents a collection of RcpGroup objects.

## Constructors

- [RcpLayout](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/ctor.md): (2 overloads)

## Properties

- [Count](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/count.md)
- [Document](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/document.md)

## Indexers

- [Group](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/item.md)

## Methods

- [Add](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/add.md)
- [EnsureGroup](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/ensuregroup.md): Returns the bottommost group in this layout. If there are no groups, a new group will be created.
- [GetEnumerator](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/getenumerator.md)
- [GetEnumeratorNotTypeSafe](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/getenumeratornottypesafe.md)
- [OnLayoutChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/onlayoutchanged.md): (2 overloads) Raise the LayoutChanged event.
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/read.md)
- [Remove](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/remove.md)
- [RemoveAt](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/removeat.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/write.md)

## Events

- [LayoutChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcplayout/layoutchanged.md): Raised whenever the layout changes at some level.
