Table of Contents

Event Cancelled

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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

public event EventHandler<WizardButtonEventArgs> Cancelled

Returns

EventHandler<WizardButtonEventArgs>
Raised when the user has cancelled the by pressing 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.