A newer version of this page is available. Switch to the current version.

DialogController.Cancelling Event

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll


public event EventHandler Cancelling
Public Event Cancelling As EventHandler

Event Data

The Cancelling event's data class is EventArgs.


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