0

how to automatically show dropdown items when users click on a comboBoxCell in datagridview?

duy.ly
  • 283
  • 7
  • 13

1 Answers1

0

You can set the combo box's GotFocus event, but you'll have to get the combo box instance handle and with it you can do:

myComboBox.GotFocus += (s, e) => ((ComboBox)s).DroppedDown = true;
Chuck Savage
  • 11,775
  • 6
  • 49
  • 69