#nullable enable
using System.ComponentModel;
namespace Terminal.Gui.Text;
/// Event args for type property events
public class StringPropertyEventArgs : CancelEventArgs
{
/// Creates a new instance of the class.
public StringPropertyEventArgs (in string? currentString, ref string? newString)
{
CurrentString = currentString;
NewString = newString;
}
/// Gets the current .
public string? CurrentString { get; }
/// Gets or sets the new .
public string? NewString { get; set; }
}