Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LoggingOffEventArgs.CanCancel Property

Indicates whether the log off process can be canceled.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public bool CanCancel { get; }

#Property Value

Type Description
Boolean

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

#Remarks

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