The requested page is not available for the requested platform. You are viewing the content for Default platform.

Messaging.ConfirmationDialogClosed Event

Occurs after the confirmation dialog is closed.

Namespace: DevExpress.ExpressApp.Win.Core

Assembly: DevExpress.ExpressApp.Win.v19.1.dll


public static event EventHandler<ConfirmationDialogClosedEventArgs> ConfirmationDialogClosed
Public Shared Event ConfirmationDialogClosed As EventHandler(Of ConfirmationDialogClosedEventArgs)

Event Data

The ConfirmationDialogClosed event handler receives an argument of the ConfirmationDialogClosedEventArgs type. The following properties provide information specific to this event.

Property Description
DialogResult Gets the dialog box return value.


The ConfirmationDialogClosed event is raised when executing the Messaging.Show method. Handle this event to perform custom actions after the confirmation dialog is closed. Use the handler's ConfirmationDialogClosedEventArgs.DialogResult parameter to get the user choice.

static class Program {
    static void Main() {
        // ...
        Messaging.ConfirmationDialogClosed += Messaging_ConfirmationDialogClosed;
        // ...
        // ...
    static void Messaging_ConfirmationDialogClosed(\
        object sender, ConfirmationDialogClosedEventArgs e) {
        // Place your code here. Use e.DialogResult value as required.

For more sophisticated customizations, implement a custom Messaging descendant, as detailed in the How to: Implement a Custom Messaging Class.

See Also