# ControlDrawEventArgs class

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

```cs
public class ControlDrawEventArgs : EventArgs
```

Arguments used in the IControl draw events.

## Constructors

- [ControlDrawEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controldraweventargs/ctor.md): Create a new instance of the ControlPaintEventArgs class.

## Properties

- [Control](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controldraweventargs/control.md): Gets the IControl instance that raised this event.
- [Graphics](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.controldraweventargs/graphics.md): Gets the graphics objects associated with this draw event.
