# KendoReact Window Events

The KendoReact Window fires a number of events that enable you to update your application state when users interact with it.

The [`onClose`](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops#onclose) event fires when the user clicks the **Close** button in the titlebar or presses `Esc` while the Window itself has focus and an `onClose` handler is attached. The [`onMove`](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops#onmove) event fires while the user drags the Window, and the [`onResize`](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops#onresize) event fires while the user resizes it. The [`onStageChange`](https://www.telerik.com/kendo-react-ui/components/dialogs/api/windowprops#onstagechange) event fires when the user minimizes, maximizes, or restores the Window.

The following example demonstrates the Window events.

[Demo Source](https://demos.telerik.com/kendo-react-ui/dialogs/window/events/func/source.txt)

## Suggested Links

* [Events of the Dialog](https://www.telerik.com/kendo-react-ui/components/dialogs/dialog/events)
* [API Reference of the Window](https://www.telerik.com/kendo-react-ui/components/dialogs/api/window)
