* UICombobox: 增加几个原生方法
This commit is contained in:
parent
3b47b9f819
commit
8cce9a417e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -49,16 +49,33 @@ namespace Sunny.UI
|
|||||||
fullControlSelect = true;
|
fullControlSelect = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DefaultValue(false)]
|
||||||
|
public bool Sorted
|
||||||
|
{
|
||||||
|
get => ListBox.Sorted;
|
||||||
|
set => ListBox.Sorted = value;
|
||||||
|
}
|
||||||
|
|
||||||
public int FindString(string s)
|
public int FindString(string s)
|
||||||
{
|
{
|
||||||
return ListBox.FindString(s);
|
return ListBox.FindString(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int FindString(string s, int startIndex)
|
||||||
|
{
|
||||||
|
return ListBox.FindString(s, startIndex);
|
||||||
|
}
|
||||||
|
|
||||||
public int FindStringExact(string s)
|
public int FindStringExact(string s)
|
||||||
{
|
{
|
||||||
return ListBox.FindStringExact(s);
|
return ListBox.FindStringExact(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int FindStringExact(string s, int startIndex)
|
||||||
|
{
|
||||||
|
return ListBox.FindStringExact(s, startIndex);
|
||||||
|
}
|
||||||
|
|
||||||
private void ListBox_ItemsRemove(object sender, EventArgs e)
|
private void ListBox_ItemsRemove(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (ListBox.Count == 0)
|
if (ListBox.Count == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user