Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WinWindow Class

A Window used in Windows Forms applications.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v24.2.dll

#Declaration

public class WinWindow :
    Window

#Remarks

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.

For general information on Windows, refer to the Window class description and Windows and Frames help topic.

#Inheritance

See Also