I am working on my first project in MVVM and I\'ve chosen to use the MVVM Light Toolkit. I have a GameViewModel
that handles business on the main screen of my g
Follow up to Viv, I modified the sample to include an example of opening the window without using a code behind.
Sample project is here.
I'm utilizing the ViewModelLocator singleton with a static method that news up the viewmodel and window and Data Context instead of the code behind.
Blog Post with Details. Let me know which method is preferable. I dislike using code behind, but there could be pro's and con's I'm missing.