Event Cancelled | Terminal.Gui v1 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Raised when the user has cancelled the Wizard by pressin the Esc key. To prevent a modal (Modal is true) Wizard from closing, cancel the event by setting Cancel totrue before returning from the event handler.

public event Action<Wizard.WizardButtonEventArgs> Cancelled

Returns

Action<Wizard.WizardButtonEventArgs>

Raised when the user has cancelled the by pressin the Esc key. To prevent a modal ( is true) Wizard from closing, cancel the event by setting to true before returning from the event handler.