How to have Multiple unique instances of ViewModel using MVVM Light?
I am fairly new to following the MVVM pattern. I am using MVVMLight. I am wondering how have multiple unique instances of the ViewModel with MVVM Light. For exmaple I have an application that can open n number of windows. Each uses the same Viewmodel. I am curious in MVVM whats the best practive to give them there own instance. If I follow the MVVM Light example the ViewModeLocator will have only a static instance which each window will end up using. Thanks in advance. You are not obliged to use ONLY the static view models in the view model locator. That approach only makes sense if your views