DialogController.Cancelling Event

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public event EventHandler Cancelling
Public Event Cancelling As EventHandler

The Cancelling event handler receives an argument of the EventArgs type.

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