namespace DesktopMagic.Api.Settings; /// /// Represents a label control. /// public class Label : Setting { private string _value = string.Empty; /// /// Gets or sets the text associated with this . /// public string Value { get => _value; set { if (_value != value) { _value = value; ValueChanged(); } } } /// /// Gets or set a value indicating whether the content of the is bold or not. /// public bool Bold { get; set; } /// /// Initializes a new instance of the class with the provided . /// /// The text associated with this /// A value indicating whether the content of the is bold or not. public Label(string value, bool bold = false) { Value = value; Bold = bold; } }