DarkUI.Net5/DarkUI/Controls/DarkListItem.cs
Robin cdaeae5264 Cleaned up namespaces.
Moved classes out of subfolders. Moved enums to be within the same file
as their main class. Added new DarkControl superclass.
2015-12-07 20:21:17 +00:00

39 lines
695 B
C#

using DarkUI.Config;
using System.Drawing;
namespace DarkUI.Controls
{
public class DarkListItem
{
#region Property Region
public string Text { get; set; }
public Rectangle Area { get; set; }
public Color TextColor { get; set; }
public FontStyle FontStyle { get; set; }
public object Tag { get; set; }
#endregion
#region Constructor Region
public DarkListItem()
{
TextColor = Colors.LightText;
FontStyle = FontStyle.Regular;
}
public DarkListItem(string text)
: this()
{
Text = text;
}
#endregion
}
}