Table of Contents

Method OnTitleChanging

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnTitleChanging(ustring, ustring)

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

public virtual bool OnTitleChanging(ustring oldTitle, ustring newTitle)

Parameters

oldTitle ustring

The Title that is/has been replaced.

newTitle ustring

The new Title to be replaced.

Returns

bool

true if an event handler cancelled the Title change.