arrays - C# Combobox show in suggest list if string includes -
private void form1_load(object sender, eventargs e) { string[] list = { "tomato", "banana", "apple" }; autocompletestringcollection mylist = new autocompletestringcollection(); mylist.addrange(list); combobox1.autocompletecustomsource = mylist; }
when enter "ana" combobox want see banana in suggest list.
i researched cannot find code doing this.
thanks in advance.
hello have post
hope helps, it's wpf solution
Comments
Post a Comment