WPF EDitable ComboBox
- by Amittai Shapira
Hi!
I want to create editable combo box with the following properties:
1. Bind the text property to my data model.
2. The data model may override the changes in the GUI, even in Selection changed. E.g. I can choose from 1, 2, 3 I choose 2, but some component down under changes it to 3.
3. Update the data model on the following events:
1. Selection Changed
2. Lose focus
3. Enter pressed (should behave the same as lost focus).
I've been able to create such control, but it's pretty ugly (using many hacks) and I hoped there's a simpler way…
Thanks in advance