Back to Devexpress

XafApplication.SettingUp Event

expressappframework-devexpress-dot-expressapp-dot-xafapplication-c4d49464.md

latest2.1 KB
Original Source

XafApplication.SettingUp Event

Occurs before initializing the XafApplication class instance.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

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

Event Data

The SettingUp event's data class is DevExpress.ExpressApp.SetupEventArgs.

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. This class inherits from the XafApplication class.

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace