Table of Contents

Event SchemeChanging

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

Raised before the scheme is set, allowing handlers to modify or cancel the change.

public event EventHandler<ValueChangingEventArgs<Scheme?>>? SchemeChanging

Returns

EventHandler<ValueChangingEventArgs<Scheme>>
Raised before the scheme is set, allowing handlers to modify or cancel the change.

Remarks

Set Handled to true to cancel the change or modify NewValue to adjust the proposed scheme.