The requested page is not available for the requested platform. You are viewing the content for Default platform.

Window.Close() Method

Closes a Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public bool Close()
Public Function Close As Boolean

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