The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.SettingUp Event

Occurs before initializing the XafApplication class instance.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public event EventHandler<SetupEventArgs> SettingUp
Public Event SettingUp As EventHandler(Of SetupEventArgs)
public event EventHandler<SetupEventArgs> SettingUp
Public Event SettingUp As EventHandler(Of SetupEventArgs)
public event EventHandler<SetupEventArgs> SettingUp
Public Event SettingUp As EventHandler(Of SetupEventArgs)

Event Data

The SettingUp event handler receives an argument of the DevExpress.ExpressApp.SetupEventArgs type.

Remarks

This event is raised as a result of calling the XafApplication.Setup method. Handle this event to set custom settings for the XafApplication class instance. To do this, use the handler's SetupEventArgs.SetupParameters parameter. It provides access to the following: Controllers Manager, module list, connection string, XafApplication.ApplicationName, and XafApplication.ObjectSpaceProvider.

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.

See Also