Files
RemSox/UI/GUI/UIEelements/Control.cs
T
2026-06-08 12:30:37 +02:00

20 lines
395 B
C#

using System;
using System.Drawing;
namespace RemSox.UI.GUI.UIEelements;
public abstract class Control(string type) : UIElement(type)
{
public Color BackgroundColor
{
get;
set => SetProperty(nameof(BackgroundColor), ref field, value);
} = Color.LightGray;
public Size Size
{
get;
set => SetProperty(nameof(Size), ref field, value);
}
}