title: Interaction of view models in MVVM
body: <p>I have a WPF application which follows the MVVM pattern. The application defines two views and view models so far:</p>
  
  <ul>
  <li>LoginView(Model)</li>
  <li>ProjectsView(Model)</li>
  </ul>
  
  <p>Both view models need to access several properties from other view models.</p>
  
  <p>Example:<br>
  <code>LoginViewModel</code> has a property <code>ProjectList</code>. <code>ProjectsViewModel</code> needs to access this property as well.</p>
  
  <p>This is only a simple example. Later there will be several <code>UserControls</code> which all need to interact with each other.</p>
  
  <p>Would it be a better idea to create one huge view model which all <code>UserControls</code> (views) set as their <code>DataContext</code>? If not, how can all the different view models interact with each other?</p>
  
  <p>Remark:<br>
  This question is closely related to <a href="https://stackoverflow.com/questions/14357049/access-properties-from-one-view-model-in-another">this one</a> but with a different approach.</p>