Table of Contents

Method OnSchemeNameChanging

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

OnSchemeNameChanging(ValueChangingEventArgs<string?>)

Called before the SchemeName property changes, allowing subclasses to cancel or modify the change.

protected virtual bool OnSchemeNameChanging(ValueChangingEventArgs<string?> args)

Parameters

args ValueChangingEventArgs<string>

The event arguments containing the current and proposed new scheme name.

Returns

bool

True to cancel the change, false to proceed.