I am using mvvm model for my WPF application.
i have a 2 usercontrols in the form 1. Parent ( form with controls) 2. Child ( child has a datagrid to show list of rows which are added from parent form)
but the parent form is dynamic. means controls are not static. For editing if user click on datagrid row in child i need to reload the relevant parent form dynamically.
how to achieve this using MVVM pattern. Both controls have their own view models. please suggest a solution.