Table of Contents

Method OnStepChanging

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

OnStepChanging(ValueChangingEventArgs<WizardStep?>)

Called before CurrentStep changes. Override to add custom validation.

protected virtual bool OnStepChanging(ValueChangingEventArgs<WizardStep?> args)

Parameters

args ValueChangingEventArgs<WizardStep>

Event arguments containing old and new step values.

Returns

bool

true to cancel the step change; otherwise false.