// // TextField.cs: single-line text editor with Emacs keybindings // // Authors: // Miguel de Icaza (miguel@gnome.org) // namespace Terminal.Gui; /// An which allows passing a cancelable new text value event. public class TextChangingEventArgs : EventArgs { /// Initializes a new instance of /// The new to be replaced. public TextChangingEventArgs (string newText) { NewText = newText; } /// Flag which allows to cancel the new text value. public bool Cancel { get; set; } /// The new text to be replaced. public string NewText { get; set; } }