Thursday, January 15, 2015

C# ComboBox unchangable attribute


To make combobox unchangable, set DropDownStyle attribute as DropDownList.




 - DropDownStyle - DropDown
User can change the comboBox value.




- DropDownStyle - DropDownList
User can not change the comboBox value.




But if you set the DropDownStyle as DropDownList,
the shape of combobox shape is changed into old style.

So FlatStyle - Flat would be good for you.
modern windows style.

Thanks

No comments:

Post a Comment