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

Event arguments used during context menu population.

## Constructors

- [PopulateContextMenuEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.populatecontextmenueventargs/ctor.md): Create a new PopulateContextMenuEventArgs instance.

## Properties

- [Control](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.populatecontextmenueventargs/control.md): Gets the control associated with this event.
- [IsMenu](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.populatecontextmenueventargs/ismenu.md): Gets whether the menu has been populated.
- [Menu](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.populatecontextmenueventargs/menu.md): Gets the menu to populate.
- [MouseEvent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.populatecontextmenueventargs/mouseevent.md): Gets the mouse event arguments associated with this menu.
