A Window used in Windows Forms applications.
The WinWindow is a Window descendant used in Windows Forms applications. As such, it is visualized by a form which you can access via the WinWindow.Form property. Compared to the base Window class, WinWindow introduces certain useful events. The WinWindow.KeyDown event allows you to perform specific actions in response to a key press while the Window has focus. The complementary WinWindow.KeyUp event occurs when a key is released and can be used to perform cleanup, necessary after execution of the KeyDown event handler. The WinWindow.Closing and WinWindow.Closed events can be used to perform actions when a Window is closed or to prevent it from closing altogether. There is also the static WinWindow.QueryDefaultFormIcon event, allowing you to specify custom default icons to be used by all WinWindows.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the WinWindow class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.