Table of Contents

Method OnValueChanging

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

OnValueChanging(ValueChangingEventArgs<CheckState>)

Called when the CheckBox Value is changing.

protected virtual bool OnValueChanging(ValueChangingEventArgs<CheckState> args)

Parameters

args ValueChangingEventArgs<CheckState>

The event arguments containing old and new values.

Returns

bool

true to cancel the change; otherwise false.

Remarks

The value change can be cancelled by returning true or setting Handled to true.