Table of Contents

Method OnSettingScheme

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

OnSettingScheme(ValueChangingEventArgs<Scheme?>)

Called before the scheme is set, allowing subclasses to cancel or modify the change.

protected virtual bool OnSettingScheme(ValueChangingEventArgs<Scheme?> args)

Parameters

args ValueChangingEventArgs<Scheme>

The event arguments containing the current and proposed new scheme.

Returns

bool

True to cancel the change, false to proceed.