namespace Terminal.Gui; /// /// Event args for when a is changed from one value to a new value (e.g. in /// ) /// public class KeyChangedEventArgs : EventArgs { /// Creates a new instance of the class /// /// public KeyChangedEventArgs (Key oldKey, Key newKey) { OldKey = oldKey; NewKey = newKey; } /// Gets the new that is being used. Use to check for empty. public Key NewKey { get; } /// Gets the old that was set before the event. Use to check for empty. public Key OldKey { get; } }