Skip to main content
.NET 8.0+

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

XafApplication.AskConfirmation(ConfirmationType) Method

Requests an end-user confirmation.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual ConfirmationResult AskConfirmation(
    ConfirmationType confirmationType
)

#Parameters

Name Type Description
confirmationType ConfirmationType

A ConfirmationType enumeration value.

#Returns

Type Description
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