c# - Winforms Textbox Autocomplete Dropdown Font Columns -
i have textbox , doing autocomplete using custom source. want multiple values in textbox rows line columns. working, because dropdown not utilize font consistent width, there seems nil can text line columns.
how set autocomplete textbox dropdown utilize font consistant width??
foreach (address address in cities) { string s1 = string.format("{0,20}{1}", address.city, address.postalcode); customcollection.add(s1); }
c# winforms autocomplete textbox
No comments:
Post a Comment