Table of Contents

Event TextChanging

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

Raised when the Text is about to change. Set Cancel to true to prevent the change.

public event EventHandler<CancelEventArgs>? TextChanging

Returns

EventHandler<CancelEventArgs>
Raised when the is about to change. Set to true to prevent the change.

Remarks

This is a signal-only notification at the View level. It does not carry old or new text values. Derived controls that need richer text-edit semantics may expose their own specific events.