using System.ComponentModel;
namespace Terminal.Gui;
/// Cancellable event args for string-based property change events.
public class StringEventArgs : CancelEventArgs
{
///
/// Initializes a new instance of
///
public StringEventArgs () {}
/// Initializes a new instance of
/// The old string.
/// The new string.
public StringEventArgs (string oldString, string newString)
{
OldValue = oldString;
NewValue = newString;
}
/// The new string.
public string NewValue { get; set; }
/// The old string.
public string OldValue { get; set; }
}