While working on an MVVM project, I was recently debugging an issue with some of my Silverlight ComboBoxes. The ComboBoxes were bound to pre-set values in the ViewModel, and yet were showing up empty when rendered on the page. What was really troubling was that some ComboBoxes were working correctly, but others were showing up blank, when they were bound to the same ViewModel and everything looked to be exactly the same!
Here’s a sample project where I’ve reproduced the problem:
Both ComboBoxes are bound to the same ItemsSource, and both have simple int values as their bound SelectedValue ...