I create a dynamic ComboBox. and set height as
ComboBox cc = new ComboBox();
cc.DropDownHeight = 80;
In this comboBox when list of items are 10+ then its look like what I want.
But, in this comboBox list of items are one or two the comboBox height is small than 80.
Can you please solve this?
Ravinder SharmaPosted Apr 15, 2022, 1:18 PM
Combobox always auto sizes to match the font, so try incrreasing size of fonts. Bigger the font bigger the combobox.
Md SarfarajPosted Apr 15, 2022, 12:32 PM