DarkUI.Net5/DarkUI/Controls/Items/DarkListItem.cs
Robin baaab81736 Minor refactoring and cleaning
Removed unnecessary comments. Added string interpolation from C# 6.0.
Removed unneeded library references.
2015-11-30 19:19:23 +00:00

36 lines
624 B
C#

using System.Drawing;
namespace DarkUI
{
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; }
#endregion
#region Constructor Region
public DarkListItem()
{
TextColor = Colors.LightText;
FontStyle = FontStyle.Regular;
}
public DarkListItem(string text)
: this()
{
Text = text;
}
#endregion
}
}