This project has moved. For the latest updates, please go here.

Multiple Windows

Dec 20, 2012 at 5:40 PM


I have spent hours Googling, and I apologise if this is a regular, simple question...but how exactly do you go about adding a new window to an mvvmlight WPF project?

I have created a simple application which allows you to have multiple views displaying via content controls, on the same view. However I have added a menu bar and would like to display another window when a particular item is selected.

I have experience with using the messenger, however I believe i'm failing to setup the ViewModelLocator properly, as the second window's code-behind never receives the message.

A simple example application would be amazing...