tags:

views:

45

answers:

1

This combobox should display a bound value as its text, and cannot be disabled. I just want to prevent a user from changing the displayed value.

A: 

Your question is unclear.

A combobox has the dependency property IsEditable and if set to false, the selected item can not be edited. This is false by default.

If you are talking about the items in the combobox popup list, then it should also be "non editable" unless you have changed the data template of your combo box to contain a list of textboxes which will cause the list to allow each item to be editable.

Tri Q
Even with IsEditable set to false, you can change the selection. I want the value to be readonly.
Peter