namespace DesktopMagicPluginAPI.Inputs { /// /// Represents a check box control. /// public class CheckBox : Element { private bool _value; /// /// Gets or set a value indicating whether the is in the checked state. /// public bool Value { get => _value; set { if (_value != value) { _value = value; ValueChanged(); } } } /// /// Initializes a new instance of the class with the provided . /// /// A value indicating whether the is in the checked state. public CheckBox(bool value) { Value = value; } } }