mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 23:42:00 +02:00
24 lines
502 B
C#
24 lines
502 B
C#
using System.Drawing;
|
|
|
|
namespace RemSox.UI.GUI.UIEelements.Controls;
|
|
|
|
public class CheckBox() : Control("CheckBox")
|
|
{
|
|
public bool IsChecked
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(IsChecked), ref field, value);
|
|
} = false;
|
|
|
|
public string Text
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(Text), ref field, value);
|
|
} = string.Empty;
|
|
|
|
public Color TextColor
|
|
{
|
|
get;
|
|
set => SetProperty(nameof(TextColor), ref field, value);
|
|
} = Color.White;
|
|
} |