# IconHostingControl class

Namespace: [Grasshopper2.UI.Icon](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.icon.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class IconHostingControl : Drawable
```

A control for hosting and loading icons.

## Constructors

- [IconHostingControl](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconhostingcontrol/ctor.md)

## Properties

- [CurrentIcon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconhostingcontrol/currenticon.md): Gets the current icon.
- [OriginalIcon](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconhostingcontrol/originalicon.md): Gets the original icon.
- [SourceFolder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconhostingcontrol/sourcefolder.md): Gets the folder (if any) from which the current icon was loaded.
