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

Class used in the IControl.WindowSelection event.

## Constructors

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

## Properties

- [Control](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.windowselectioneventargs/control.md): Gets the control associated with this event.
- [Window](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.flex.windowselectioneventargs/window.md): Gets the window selection particulars.
