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

XafApplication.SetupComplete Event

Occurs after the XafApplication class instace has been initialized.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public event EventHandler<EventArgs> SetupComplete
Public Event SetupComplete As EventHandler(Of EventArgs)

Event Data

The SetupComplete event's data class is EventArgs.


Handle this event to customize settings of the XafApplication class instance after it has been initialized via the XafApplication.Setup method.

The WinApplication class instance is used in the Windows Forms application project, and the WebApplication class instance is in the ASP.NET Web application project. Both these classes are the XafApplication class descendants.


When the SetupComplete event is triggered, the Application Model's end-user customizations layer is not yet created from the Model.User.xafml file. So, if you need to access the Application Model in its final state, including customizations that a user might have created, handle the XafApplication.LoggedOn event instead.

See Also