Set Combobox Text to Uneditable

Set DropDownStyle property to this:
DropDownList The user cannot directly edit the text portion.
 
set the SelectedIndex property to value -1.
 
How to set the combobox in readonly state? I mean like the readonly for textbox, i dont really want to disable the combobox since the text inside will look really dull. Thank you.
 
If you want to prevent user from making a selection in list you should set Enable =False. This is good UI and user will know from seeing the control that it is disabled and that a choice cannot be made there.
 
Back
Top