In the picker XAML code, I have:
SelectedIndex="{Binding SelectedItemIndex}".
I also have a ViewModel class where I am attempting to programmatically change the selected item by saying:
SelectedItemIndex = x;
However, this does not do anything. I can change the selected item in other classes by saying:
picker.SelectedIndex = x, but I am trying to keep a consistent design in my code.