Hi,

I have a combo box with say 10 items and I have space in my screen to show that 10 items in one shot. Currently it is showing only 7 items in one shot and I have to scroll to access item 8,9 & 10. Is there any property to avoid scroll bar and make all my items appear in one shot?

I am using .net compact framework 3.5.
-anoop

Hi,

I have a combo box with say 10 items and I have space in my screen to show that 10 items in one shot. Currently it is showing only 7 items in one shot and I have to scroll to access item 8,9 & 10. Is there any property to avoid scroll bar and make all my items appear in one shot?

I am using .net compact framework 3.5.
-anoop

Hi ,

i think u can try to make bigger value of the property ' DropDownHeight'

Hi,

Thanks for the reply, but I am not getting any property like "DropDownHeight". Is that property available with 3.5 compact framework?

-anoop

Bump!! any idea on how to do this..

this.comboBox = new ComboBox();
this.comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
comboBox.DropDownHeight = 160;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.