# EnabledControl<T> 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 sealed class EnabledControl<T> : StackLayout
```

A hosted control with an enabling checkbox.

**Type parameters:**

- `T` (where Control)

## Constructors

- [EnabledControl<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.enabledcontrol-1/ctor.md): (2 overloads) Create a new control with enabling checkingbox.

## Properties

- [HostedControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.enabledcontrol-1/hostedcontrol.md): Gets thd control hosted inside this control.
- [IsEnabled](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.enabledcontrol-1/isenabled.md)
