Chaddeus
Chaddeus

Reputation: 13366

Is there a way to make the entire combobox clickable in a windows form?

Instead of only the little tiny down arrow? Seems like there should be a property I can set or something, but I'm not seeing one... unless I'm blind.

Upvotes: 1

Views: 707

Answers (2)

Johann Blais
Johann Blais

Reputation: 9469

If the combobox DropDownStyle is set to DropDownList, it will be automatic

Upvotes: 1

Joey
Joey

Reputation: 354614

Are you looking for

comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;

maybe? That will make the combo box non-editable, i.e. it won't act like a text box with a button but just as a large button that will open the drop-down.

Upvotes: 3

Related Questions