提交当前本机整理版本
This commit is contained in:
@@ -397,4 +397,43 @@ namespace Lskj.Control
|
||||
{
|
||||
TextEdit.Properties.Appearance.BackColor = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 前景颜色
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override Color ForeColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Properties.Appearance.ForeColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
TextEdit.Properties.Appearance.ForeColor = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 内容加粗
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override bool ContentBold
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Properties.Appearance.Font.Bold;
|
||||
}
|
||||
set
|
||||
{
|
||||
Font oldFont = TextEdit.Properties.Appearance.Font;
|
||||
TextEdit.Properties.Appearance.Font = new Font(oldFont.FontFamily, oldFont.Size, value ? FontStyle.Bold : FontStyle.Regular);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user