C#中的DataCombo控件? [英] DataCombo control in C# ?
本文介绍了C#中的DataCombo控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有一种方法可以在C#中的数据组合中具有扩展匹配功能,就像以前对vb一样.
我们要做的就是方便用户从数据组合中进行选择.当他在组合框上键入内容时,所选内容应转到与键入中形成的最新单词相匹配的第一行.
关于
Is there a way to have the extended matching feature in a datacombo in C#, just the way it used to be for vb.
All what we want to do is to facilitate the user to select from a datacombo. when he types on the combo box, the selection should go to the first row that matches the lates word formed in typing.
Regards
推荐答案
尝试:
comboBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
comboBox1.AutoCompleteSource = AutoCompleteSource.ListItems;
这篇关于C#中的DataCombo控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文