.Net TextBox With AutoComplete and custom sorting

2019-07-09 02:56发布

I'm searching for a TextBox Control with the default AutoComplete Feature, but the entries in the suggestion shold sorted like the items in the list.

for example...

List Items:

ab  
ac  
aa  
bb  

If I type the letter "a" to the TextBox, the suggested items shold sorted like this:

ab  
ac  
aa  

NOT like this:

aa  
ab  
ac  

Is there a way to disable the automatically sorting?

1条回答
相关推荐>>
2楼-- · 2019-07-09 03:22

.NET's AutoComplete functionality merely wraps Win32's SHAutoComplete. There is no ability to modify the order results are presented in.

查看更多
登录 后发表回答