Wpf combobox binding selecteditem not updating

02 Oct

The problem is simple: By default WPF compares Selected Item to each item in the Items Source by reference, meaning that unless the Selected Item points to the same item in memory as the Items Source item, it will decide that the item doesn’t exist in the Items Source and so no item gets selected.

In order to avoid that use the Keep Alive property of your pages.

When the binding occurs, it is trying to see if the objects match so make sure you are properly implementing your equality checking. I implemented IEquatable on My Object and match the fields and return true. If I add a Textbox bound to the Property it is showing the correct information upon return to the page.

In this case, the selecteditem bind doesn't work, because the hash id of the objects are different.

If I sit in a break point and wait a few seconds it works as expected. End Update I have an application using in WPF using MVVM with a Combo Box. The issue I'm having is when we leave our page and migrate back the Combo Box is not selecting the current Value that is selected.

View Model No matter which way I configure this when I come back to the page and the object is reassembled the Combo Box will not select the value.