.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DialogController.Cancelling Event

Occurs when executing the current Dialog Controller's DialogController.CancelAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public event EventHandler Cancelling

Event Data

The Cancelling event's data class is EventArgs.

Remarks

When executing the Action specified by the Dialog Controller's DialogController.CancelAction property, the current pop-up Window is closed. Handle the Cancelling event to perform custom actions before closing the Window.

If you need to cancel closing the current pop-up Window, set the DialogController.CanCloseWindow property to false. By default, this property is set to true.

See Also