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

XafApplication.CreateCustomLogonWindowControllers Event

Occurs when creating Controllers for a Logon Window.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public event EventHandler<CreateCustomLogonWindowControllersEventArgs> CreateCustomLogonWindowControllers
Public Event CreateCustomLogonWindowControllers As EventHandler(Of CreateCustomLogonWindowControllersEventArgs)

Event Data

The CreateCustomLogonWindowControllers event's data class is CreateCustomLogonWindowControllersEventArgs. The following properties provide information specific to this event:

Property Description
Controllers Specifies custom Controllers that must be created in the Logon Window in addition to system Controllers.


A limited set of required built-in Controllers is activated for a Logon Window (e.g., FillActionContainersController, DiagnosticInfoController, Controllers of the Validation and Conditional Appearance modules, etc.). Handle this event to create the required Controllers in addition to the system's Controllers. Add these Controllers to the list passed as the handler's Controllers parameter. An example of handling the CreateCustomLogonWindowControllers event is provided in the Logon Form Controllers and Actions topic.

See Also