* UIButton: 修复LightStyle的背景颜色

This commit is contained in:
Sunny 2023-12-06 20:56:40 +08:00
parent 26a98fa4a6
commit 52e3a3cb04

View File

@ -30,6 +30,7 @@
* 2023-05-12: V3.3.6 DrawString函数
* 2023-07-02: V3.3.9
* 2023-11-24: V3.6.2 LightStyle的文字颜色
* 2023-12-06: V3.6.2 LightStyle的背景颜色
******************************************************************************/
using System;
@ -96,6 +97,14 @@ namespace Sunny.UI
}
}
[DefaultValue(typeof(Color), "243, 249, 255")]
[Description("浅色背景"), Category("SunnyUI")]
public Color LightColor
{
get => plainColor;
set => SetPlainColor(value);
}
private bool autoSize;
/// <summary>