Skip to main content
.NET Framework 4.5.2+

XafApplication.LoggedOff Event

Occurs after an end-user has logged off.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.1.dll


public event EventHandler<EventArgs> LoggedOff

Event Data

The LoggedOff event's data class is EventArgs.


Handle this event to execute custom code after a user has logged off. Note that if the LoggedOff event is raised as a consequence of an ASP.NET Web Forms session ending, you cannot use XAF singleton instances such as XafApplication and Security System in the LoggedOff event handler. For details, refer to the XafApplication.LoggingOff event description.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoggedOff event.


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