Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

XafApplication.Exit() Method

In This Article

Finishes runing the application.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public void Exit()

#Remarks

This method calls the corresponding methods of the XafApplication class descendants. In the WinApplication class, the System.Windows.Forms.Application.Exit method is called. So, use this method in a Windows Forms application, to stop all running message loops and close all appliation windows when executing a start-up Action.

See Also