I assume the problem is how you calculate the height of the dropdown list, I think it is smth like this:
comboBox.DropDownHeight = N_of_items * item_height;
the overall height of the dropdown should also include the upper and lower border of the border, so if you would do something like this:
comboBox.DropDownHeight = N_of_items * item_height + SystemInformation.BorderSize.Height*2;
he should do the trick and show a dropdown without white areas
hope this helps, believes
source
share