How do I set the SelectedItem on a RibbonComboBox using MVVM pattern?
SelectedItem
RibbonComboBox
MVVM
View
I solved it by changing the constructor.
// Constructor public FoobarViewModel(MyObject myObject) { LoadFoobars(); Foobar = _repository.GetFoobar(myObject.FoobarID); }