why the max drop down item property doesn't work in C#? -


i have combobox 30 items, , when user wants view drop down items, of items shows, if set property maxdropdownitems 4 appears not have effect. should ?

to sure, consider of changing integralheight false (default true) , comboboxstyle dropdownlist (default dropdown) well:

combobox.integralheight = false; combobox.maxdropdownitems = 4; combobox.dropdownstyle = comboboxstyle.dropdownlist; 

this way, forcefully control combobox display.


Comments