Throw Combobox at the push of a button

Hello, do you have the ability to reset your combobox using a button?

because I plan to use combobox and the button so that if the user clicks the button, the drop-down field will drop out.

I need a button because I use it for a touch screen device. Thanks:)

+7
source share
2 answers

Use this code:

private void button1_Click(object sender, EventArgs e) { comboBox1.DroppedDown = true; } 

hope this helps :)

+6
source

Use DroppedDown Property for ComboBox

 comboBox1.DroppedDown= true; 
+2
source

All Articles