.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

LoggingOffEventArgs.CanCancel Property

Indicates whether the log off process can be canceled.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.1.dll


public bool CanCancel { get; }

Property Value

Type Description

true, if the log off process can be canceled; otherwise, false.


If the log off process has been initiated by a user (via the Log Off LogoffController.LogoffAction), the CanCancel property returns true and you can cancel the process by setting the XafApplication.LoggingOff event handler’s Cancel parameter to true.

See Also