* UINavMenu: 设置滚动条背景色
This commit is contained in:
parent
0beefc845b
commit
f1e6fd0cb1
Binary file not shown.
Binary file not shown.
@ -83,6 +83,19 @@ namespace Sunny.UI
|
||||
SetScrollInfo();
|
||||
}
|
||||
|
||||
[Description("滚动条填充颜色"), Category("SunnyUI")]
|
||||
[DefaultValue(typeof(Color), "56, 56, 56")]
|
||||
public Color ScrollFillColor
|
||||
{
|
||||
get => Bar.FillColor;
|
||||
set
|
||||
{
|
||||
menuStyle = UIMenuStyle.Custom;
|
||||
Bar.FillColor = value;
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
[Description("滚动条填充颜色"), Category("SunnyUI")]
|
||||
[DefaultValue(typeof(Color), "Silver")]
|
||||
public Color ScrollBarColor
|
||||
|
Loading…
x
Reference in New Issue
Block a user