Winforms Combobox - do not allow user to edit items

Bruce picture Bruce · Sep 26, 2011 · Viewed 38.3k times · Source

This is probably something simple. The winforms combobox items by default can be edited by the user, how to disable this?

Answer

Alex F picture Alex F · Sep 26, 2011

Set DropDownStyle = DropDownList.