Table of Contents

Method OnTitleChanging

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnTitleChanging(string, string)

Called before the Title changes. Invokes the TitleChanging event, which can be cancelled.

public virtual bool OnTitleChanging(string oldTitle, string newTitle)

Parameters

oldTitle string

The Title that is/has been replaced.

newTitle string

The new Title to be replaced.

Returns

bool

true if an event handler cancelled the Title change.