thanks for your hint, but may I just did not get it.
I send you a very small demo which shows data from a list of objects with two fields: name and status
I included 3 combobox columns using selectedvaluebinding, selecteditembinding and textbinding which all bind to a object list consisting of properties keyvalue , keydesc and valueanddesc
What I am searching for is a solution to have ONE combobox that
- displays the status (without description) = keyvalue (like column status or combo/textbinding when combo is not opened
- when combo is opened: display valueanddesc in dropdown, and change the status when one is selected
Thanks for your support
From: vinsibal [mailto:email@example.com]
Sent: Dienstag, 27. Januar 2009 19:39
To: Klaus Wiesel
Subject: Re: datagrid combo [wpf:45061]
Try using SelectedItemBinding (instead of SelectedValueBinding), SelectedValuePath and DisplayMemberPath.