# RcpGroup 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 RcpGroup : RcpItem, GH_ISerializable
```

Represents a container for GH_Object instances. Containers are top-level objects in the RCP.

## Constructors

- [RcpGroup](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/ctor.md)

## Properties

- [Collapsed](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/collapsed.md)
- [Colour](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/colour.md): Gets or sets the color of this group.
- [ContentRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/contentrectangle.md): Gets the rectangle taken up by the part of the control that is not the title bar or the borders. If the container is collapsed then this area will have a height of zero.
- [DesiredHeight](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/desiredheight.md)
- [Expanded](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/expanded.md)
- [IconRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/iconrectangle.md): Gets the rectangle taken up by the icon in the container bar.
- [ItemCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/itemcount.md)
- [ItemLayoutRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/itemlayoutrectangle.md): Gets the rectangle used for item layouts. This is basically the ContentRectangle minus itempadding on all edges.
- [Items](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/items.md)
- [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/name.md): Gets or sets the name of this group.
- [NameRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/namerectangle.md): Gets the rectangle taken up by the title text in the container bar.
- [TitleRectangle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/titlerectangle.md): Gets the rectangle taken up by the entire container bar.

## Methods

- [AddItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/additem.md): (4 overloads)
- [Collapse](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/collapse.md)
- [Expand](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/expand.md)
- [FindItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/finditem.md)
- [ImpliedInsertionIndex](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/impliedinsertionindex.md): Finds the insertion index implied by the position of a point.
- [IndexAt](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/indexat.md): Gets the item index at the given point.
- [ItemAt](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/itemat.md): Gets the item at the given point.
- [LayoutItems](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/layoutitems.md): Layout all items within the content area. It is the responsibility of the caller to assign the correct dimensions and position to the group bounds. I.e. make sure that the height of the of the Bounds are the same as the DesiredHeight. Layout will not occur when a group is collapsed.
- [OnDelete](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/ondelete.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/read.md)
- [RemoveItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/removeitem.md): (2 overloads)
- [RemovePlaceHolders](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/removeplaceholders.md): Remove all placeholders from this group.
- [Render](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/render.md)
- [ReplaceItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/replaceitem.md): Replace an item with a placeholder.
- [Toggle](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/toggle.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpgroup/write.md)

## Inherited Members

- From [RcpItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem.md): [Bounds](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/bounds.md), [OwnerInstanceId](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/ownerinstanceid.md), [MouseClick](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/mouseclick.md), [MouseDoubleClick](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/mousedoubleclick.md), [MouseDown](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/mousedown.md), [MouseMove](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/mousemove.md), [MouseUp](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.remotepanel.rcpitem/mouseup.md)
