# IconStateEventArgs 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 class IconStateEventArgs : EventArgs
```

Event arguments used during IconState.Changed events.

## Constructors

- [IconStateEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconstateeventargs/ctor.md): Create new event arguments.

## Properties

- [State](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.icon.iconstateeventargs/state.md): Gets the state associated with this event.
