WPF MVVM ComboBox SelectedItem or SelectedValue not working

前端 未结 18 2392
一生所求
一生所求 2020-12-05 06:22

Update

After a bit of investigating. What seems to be the issue is that the SelectedValue/SelectedItem is occurring before the Item source is finis

18条回答
  •  庸人自扰
    2020-12-05 06:59

    You need to put the ItemsSource property BEFORE the SelectedItem property. I came across a blog a few days ago mentioning the issue.

提交回复
热议问题