diff --git a/Bin/net40/SunnyUI.dll b/Bin/net40/SunnyUI.dll index 084f8692..03d3439b 100644 Binary files a/Bin/net40/SunnyUI.dll and b/Bin/net40/SunnyUI.dll differ diff --git a/SunnyUI/Controls/DropItem/UIComboBoxItem.cs b/SunnyUI/Controls/DropItem/UIComboBoxItem.cs index 4fe15bc0..953e1325 100644 --- a/SunnyUI/Controls/DropItem/UIComboBoxItem.cs +++ b/SunnyUI/Controls/DropItem/UIComboBoxItem.cs @@ -53,7 +53,7 @@ namespace Sunny.UI /// 颜色 public override void SetRectColor(Color color) { - listBox.ItemSelectBackColor = color; + //listBox.ItemSelectBackColor = color; } /// @@ -62,7 +62,7 @@ namespace Sunny.UI /// 颜色 public override void SetFillColor(Color color) { - ListBox.ItemSelectForeColor = color; + //ListBox.ItemSelectForeColor = color; } private void listBox_SelectedIndexChanged(object sender, EventArgs e) diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs index 00d77b81..5a2ee02b 100644 --- a/SunnyUI/Controls/UIComboBox.cs +++ b/SunnyUI/Controls/UIComboBox.cs @@ -363,5 +363,12 @@ namespace Sunny.UI get => ListBox.ItemSelectBackColor; set => ListBox.ItemSelectBackColor = value; } + + [DefaultValue(typeof(Color), "80, 160, 255")] + public Color ItemHoverColor + { + get => ListBox.HoverColor; + set => ListBox.HoverColor = value; + } } } \ No newline at end of file