Skip to main content
.NET Framework 4.6.2+

XafApplication.SetupComplete Event

Occurs after the XafApplication class instace has been initialized.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<EventArgs> SetupComplete

Event Data

The SetupComplete event's data class is EventArgs.

Remarks

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 Forms application project. Both these classes are the XafApplication class descendants.

Note

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetupComplete event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also