Skip to main content
.NET 6.0+

XafApplication.CreateCustomLogonWindowObjectSpace Event

Occurs when creating an Object Space for a Logon Window’s Detail View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<CreateCustomLogonWindowObjectSpaceEventArgs> CreateCustomLogonWindowObjectSpace

Event Data

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

Property Description
LogonParameters Specifies the Security System‘s logon parameters.
ObjectSpace Specifies a custom Object Space to be used by the Logon Window’s Detail View.

Remarks

Handle this event to specify a custom Object Space for a Logon Window’s Detail View. Pass the required Object Space as the handler’s ObjectSpace parameter. To see an example of using this event, refer to the Customize Standard Authentication Behavior and Supply Additional Logon Parameters (Blazor) section.

Note

The CreateCustomLogonWindowObjectSpace event is not raised when the logon form is not created, e.g., when the AuthenticationBase.AskLogonParametersViaUI property is set to false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateCustomLogonWindowObjectSpace 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