Skip to main content
.NET 6.0+

WinApplication.LogOff() Method

Closes all windows and displays the logon dialog.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Win

Declaration

public override void LogOff()

Remarks

Used by the LogoffController Controller. Triggers the XafApplication.LoggingOff and XafApplication.LoggedOff events. You can handle the former to cancel the log off process, and the latter, to be notified when a user has logged off.

See Also