# NamedFrame class

Namespace: [Grasshopper2.Eto.Forms](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.forms.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public class NamedFrame : Drawable
```

Implements a foldable panel for Eto controls.

## Constructors

- [NamedFrame](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/ctor.md): Create a new control frame.

## Fields

- [FullLabel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/fulllabel.md): (static) Gets the height of the label text.
- [HalfLabel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/halflabel.md): (static) Gets half the label height.
- [Radius](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/radius.md): (static) Gets the radius of the rounded frame corners.

## Properties

- [FrameControls](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/framecontrols.md): Enumerate over the controls shown in this frame.
- [FrameHeight](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/frameheight.md): Gets the height of this control when fully expanded (unfolded).
- [LabelText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/labeltext.md): Gets the label text for this frame.
- [Styling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/styling.md): Gets or sets the styling of the frame.

## Methods

- [AddControls](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/addcontrols.md): Add a bunch of controls to the bottom of the stack in the layout.
- [OnPaint](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/onpaint.md)
- [ReplaceControls](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.namedframe/replacecontrols.md): Replace all controls in this panel with a new set.
