namespace Terminal.Gui;
/// Event arguments for Title change events.
public class TitleEventArgs : EventArgs
{
/// Initializes a new instance of
/// The that is/has been replaced.
/// The new to be replaced.
public TitleEventArgs (string oldTitle, string newTitle)
{
OldTitle = oldTitle;
NewTitle = newTitle;
}
/// Flag which allows canceling the Title change.
public bool Cancel { get; set; }
/// The new Window Title.
public string NewTitle { get; set; }
/// The old Window Title.
public string OldTitle { get; set; }
}