Skip to main content
.NET Framework 4.5.2+

WinApplication.LogOff() Method

Closes all windows and displays the logon dialog.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v24.1.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