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