c# combobox lock edit code example Example: c# combobox lock edit comboBox.DropDownStyle = ComboBoxStyle.DropDownList;