首页 新闻 搜索 专区 学院

winfrom Combobox 模糊匹配功能

0
悬赏园豆:10 [已解决问题] 解决于 2020-10-05 17:08

AutoCompleteMode = SuggestAppend

AutoCompleteSource = ListItems

的设置只能实现从左到右的匹配。

如果要做成模糊匹配,应该如何实现?

仰望星空的耕田人的主页 仰望星空的耕田人 | 初学一级 | 园豆:6
提问于:2015-08-07 10:30
< >
分享
最佳答案
0

http://stackoverflow.com/questions/26362806/how-to-suggestappend-a-combobox-containing-a-string

Request:

Search Term: "Sher"

  • Costco, 123 1st Avenue, Sherbrooke
  • Provigo, 344 Ball Street, Sherbrooke
  • Sherbox, 93 7th Street, Montreal

Answer:

I did some research and found the following question:

Override Winforms ComboBox Autocomplete Suggest Rule

In that question they reffer to another question:

C# AutoComplete

收获园豆:10
爱编程的大叔 | 高人七级 |园豆:30813 | 2015-08-07 10:40
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册