开发者

c# winForms how to filter combobox

I have combobox which dropDownStyle is dropDown, datas开发者_JAVA百科ource is arraylist . When user input value in combo box i want to filter and show in list only that value which is look like inputed string.

please help


You can set the following properties on ComboBox to get the autocomplete feature

comboBox1.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
comboBox1.AutoCompleteSource = AutoCompleteSource.ListItems;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜