- Rename src to _src

This commit is contained in:
Stone_Red
2021-12-23 11:11:06 +01:00
parent ed84fe37ed
commit 441a8b00cc
171 changed files with 26339 additions and 0 deletions
@@ -0,0 +1,42 @@
namespace DesktopMagicPluginAPI.Inputs
{
/// <summary>
/// Represents a label control.
/// </summary>
public class Label : Element
{
private string _value;
/// <summary>
/// Gets or sets the text associated with this <see cref="Label"/>.
/// </summary>
public string Value
{
get => _value;
set
{
if (_value != value)
{
_value = value;
ValueChanged();
}
}
}
/// <summary>
/// Gets or set a value indicating whether the content of the <see cref="Label"/> is bold or not.
/// </summary>
public bool Bold { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="Label"/> class with the provided <paramref name="value"/>.
/// </summary>
/// <param name="value">The text associated with this <see cref="Label"/></param>
/// <param name="bold">A value indicating whether the content of the <see cref="Label"/> is bold or not.</param>
public Label(string value, bool bold = false)
{
Value = value;
Bold = bold;
}
}
}