mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-03 07:39:28 +03:00
Removed unnecessary comments. Added string interpolation from C# 6.0. Removed unneeded library references.
36 lines
624 B
C#
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
|
|
}
|
|
}
|