# ControlWithIcon 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 ControlWithIcon : StackLayout
```

A control with an icon to the left or right of it.

## Constructors

- [ControlWithIcon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.controlwithicon/ctor.md): Create a new control with icon.

## Properties

- [Control](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.controlwithicon/control.md)
- [Icon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.forms.controlwithicon/icon.md)
