c# how to make a ComboBox not to drop down when I click on it?


I have a ComboBox which I don't want to drop down when clicked. I need it to drop down when I click my Button. Any solutions?



use the DroppedDown property to open up your combobox:

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