Method OnTitleChanging | Terminal.Gui v2 (original) (raw)

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.

Edit this page