
After some help of u guys.. (and girls..?) i made a TypeConverter to show a combobox for the property StartupProject showing a list of Projects (both properties of same object Solution).
This works.
Regards
Martin
Hi, I'm trying to achieve the same thing Martin was, with only one small thing on top of that.
I have a simple ObservableCollection<string> Platforms and a reference to an item of this list, DefaultPlatform, which is selected trough a ComboBox.
I followed the steps you described above, and everything is working perfectly, except when I trigger OnPropertychanged("StandardValues") the property DefaultPlateform is reset to null. I tried to set the value in the CollectionChanged Event, but it keeps beeing reset (even if I set the value after the StandardValues are changed).
I almost get the behavior I need, but I'm stuck at this tiny detail, do you have any idea or leads I can follow ?
Edit : Actually, after more investigation, the value is correctly set to what i want, but the ComboBox is not reflecting the selected choice.
Thanks in advance,
JB.
[Modified 13 years ago]
Hi JB,
Have you tried calling the Refresh method on the accessor as well? Perhaps that would help.
Please log in to a validated account to post comments.