Window.Close() Method
Closes a Window.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Returns
Type | Description |
---|---|
Boolean | Always false. |
Remarks
The Close method is overridden in Window class descendants. As a method of the Window class, it returns false. Use this overridden method of the WinWindow class to close a Window in Windows Forms applications. For example, add a Cancel Action to a Window Controller and call the Close method of the Controller’s WindowController.Window in the Action’s SimpleAction.Execute event handler.
See Also