开发者

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

Instead of only the little tiny down arrow? Seems like th开发者_如何转开发ere should be a property I can set or something, but I'm not seeing one... unless I'm blind.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜