I have a ComboBox like the following and would like to prevent it closing when I click the header section (e.g. Administrators).
I just tried the following code.
private void cmboName_SelectedIndexChanged(object sender, EventArgs e) { if (cmboName.SelectedIndex == 1) { cmboName.DroppedDown = true; return; } }
But there is a shivering happens; first combo box will be closed and then opens.