c# - How do I update the parent viewmodel when child viewmodel is updated -
in first view model (renamed mainviewmodel) have list of actionviewmodels. in xaml have listbox bound list, in listbox have template binds properties actionviewmodel. so far , works. when selecting 1 of listitems navigate actionviewmodel , pass id it. actionviewmodel retrieves information static list in memory mainviewmodel retrieved information create list of actionviewmodels. so far still good, can edit properties, bindings work fine , i'm happy. clicking save button information gathered , stored in static list. when hit button go list, unfortunately values showing there still same, there way send command reload items in list? pass complete viewmodel reference new actionviewmodel? or property tells parent 'this viewmodel in list has been updated'? i sure above text bit confusing, here code clarify bit (hopefully) mainviewmodel.cs private list<actionviewmodel> _actionviewmodels; public list<actionviewmodel> actionviewmodels { { return _actionv...