Skip to main content
.NET 6.0+

WinWindow Class

A Window used in Windows Forms applications.

Namespace: DevExpress.ExpressApp.Win

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

NuGet Package: DevExpress.ExpressApp.Win

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