0
kicks
MVVM - How to create a ViewModelLocater
Taking a look at how we can create a simple ViewModelLocator to inject our ViewModel into our DataContext at runtime via conventions.
The ViewModelLocator Pattern will allow you to create a very flexable application because it will decouple your Views from your ViewModel. The approach in this episode will take a convention based approach to determine which ViewModel should go with a given View.