How To Make C# ComboBox Non Editable ?



By default C# ComboBox text part is editable. If we want to change it to non editable we can achieve it by simply setting the ComboBox DropDownStyle property to DropDownList. Here is the Code ..

MyComboBox.DropDownStyle = ComboBoxStyle.DropDownList;



Written by

0 comments: