namespace DesktopMagicPluginAPI.Settings;
///
/// Represents a text box control.
///
public class TextBox : Setting
{
private string _value;
///
/// Gets or sets the text associated with this .
///
public string Value
{
get => _value;
set
{
if (_value != value)
{
_value = value;
ValueChanged();
}
}
}
///
/// Initializes a new instance of the class with the provided .
///
/// The text associated with this control.
public TextBox(string value)
{
Value = value;
}
}