Back to Devexpress

XafApplication.AskConfirmation(ConfirmationType) Method

expressappframework-devexpress-dot-expressapp-dot-xafapplication-dot-askconfirmation-x28-devexpress-dot-expressapp-dot-confirmationtype-x29.md

latest2.3 KB
Original Source

XafApplication.AskConfirmation(ConfirmationType) Method

Requests an end-user confirmation.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public virtual ConfirmationResult AskConfirmation(
    ConfirmationType confirmationType
)
vb
Public Overridable Function AskConfirmation(
    confirmationType As ConfirmationType
) As ConfirmationResult

Parameters

NameTypeDescription
confirmationTypeConfirmationType

A ConfirmationType enumeration value.

|

Returns

TypeDescription
ConfirmationResult

A ConfirmationResult enumeration value.

|

Remarks

Only the logging functionality is implemented in this virtual method. The confirmation type and default confirmation result are logged. The AskConfirmation method is overridden in the WinApplication class, and user interaction is performed by the WinApplication.AskConfirmation method. The WebApplication.AskConfirmation method does nothing except base functionality, because it is impossible to show a message box during a request.

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace