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?

Md SarfarajRank #194 · 12.4K reputationPosted Apr 15, 2022, 8:32 AM EDT
Ravinder SharmaRank #1,211 · 1.5K reputationPosted Apr 15, 2022, 9:18 AM EDT
Combobox always auto sizes to match the font, so try incrreasing size of fonts. Bigger the font bigger the combobox.