.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

Messaging.ConfirmationDialogClosed Event

Occurs after the confirmation dialog is closed.

Namespace: DevExpress.ExpressApp.Win.Core

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


public static event EventHandler<ConfirmationDialogClosedEventArgs> ConfirmationDialogClosed

Event Data

The ConfirmationDialogClosed event's data class is ConfirmationDialogClosedEventArgs. 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