* UIColorPicker: 增加ShowDropDown()函数

This commit is contained in:
Sunny 2024-08-05 14:48:00 +08:00
parent 47d1057945
commit f865be8731

View File

@ -19,6 +19,7 @@
* 2020-05-31: V2.2.5
* 2021-03-13: V3.0.2
* 2022-03-10: V3.1.1
* 2024-08-05: V3.6.8 ShowDropDown()
******************************************************************************
* : UIColorPicker.cs
* : Color picker with color wheel and eye dropper
@ -97,6 +98,11 @@ namespace Sunny.UI
CreateInstance();
}
public void ShowDropDown()
{
UIColorPicker_ButtonClick(this, EventArgs.Empty);
}
private void UIColorPicker_ButtonClick(object sender, EventArgs e)
{
item.SelectedColor = Value;