Table of Contents

Method OnUrlChanging

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

Called before Url changes. Override in subclasses to implement validation or cancel the change.

protected virtual bool OnUrlChanging(ValueChangingEventArgs<string> args)

Parameters

args ValueChangingEventArgs<string>

Contains the current and proposed new values. Set Handled to true to cancel the change.

Returns

bool

true to cancel the change; false to allow it.