Back to Devexpress

XafApplication.LoggingOff Event

expressappframework-devexpress-dot-expressapp-dot-xafapplication-0796ad52.md

latest2.6 KB
Original Source

XafApplication.LoggingOff Event

Occurs when a user clicks the Log Off button.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<LoggingOffEventArgs> LoggingOff
vb
Public Event LoggingOff As EventHandler(Of LoggingOffEventArgs)

Event Data

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

PropertyDescription
CanCancelIndicates whether the log off process can be canceled.
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
LogonParametersSpecifies the Security System‘s logon parameters.

Remarks

Handle this event to execute custom code before a user has logged off. If the log off process has been initiated by a user (via the Log Off LogoffController.LogoffAction), the LoggingOffEventArgs.CanCancel property returns true, and you can cancel the process by setting the handler’s Cancel parameter to true.

See Also

LoggedOff

LoggedOn

LoggingOn

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace