I've got a Windows Forms application written in Visual Studio 2015. Its a simple form with a couple of dropdown menus (combo boxes) and I'm wanting the dropdown list to pull down when the user clicks anywhere in the combobox frame, not only when they click on the arrow right hand side.
The combobox in my code is as follows:
private System.Windows.Forms.ComboBox cbxMake;
I found the solution to be changing the DropDownStyle in the Appearance properties from DropDown
to DropdownList
This did exactly what I was after - changing it from this
To this
Which enabled me to select the dropdown list by clicking anywhere in the box, rather than just on the arrow on the far right of the combobox.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With