.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication() Constructor

Creates an instance of the XafApplication class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.1.dll


public XafApplication()


Generally, the WinApplication class instance is created in a Windows Forms application, and the WebApplication class instance in an ASP.NET Web application. Both these classes are the descendants of the XafApplication class. Their instances are created when starting the corresponding application (see the Main method implementation in the Windows Forms and ASP.NET Web applications).

Generally, you do not need to use this method. If you need to initialize the application’s settings by custom values, replace the XafApplication.Setup method, which is called after the application has been created (in the Main method).

See Also