title: What is the recommended way to open a new window using MVVM in WPF
body: <p>Hello everyone and thanks in advance for your time.</p>
  
  <p>I'm currently learning MVVM using WPF for a small Biz App that I'm writing. I have read a lot of articles about the MVVM pattern and found that one of the key areas is to decouple the ViewModel from the View as much as possible.</p>
  
  <p>I want to open a new Window in my app but I'm not sure if I should open it from the ViewModel using an ICommand or directly from the view using a standard event. Someone I work with suggested that that I should use commands, but then I thought that this would mean having a reference to a View in my ViewModel, which according to what I understand is precisely what the MVVM pattern focuses on avoiding.</p>
  
  <p>My understanding is that if a window will open for navigation purposes only and the process of opening that new windows has no effect on the Model, then I should keep all of this on the view using standard events.</p>
  
  <p>I know in sw development everything "depends", but guess my question is there a "right"/standard way of doing this?</p>
  
  <p>Best regards,
  Daniel</p>