how to disable typing in c# code example Example: c# combobox lock edit comboBox.DropDownStyle = ComboBoxStyle.DropDownList;