title: What is the best approach to assign Data Context using MVVM?
body: <p>I was looking for best approach to set data context property. I found three ways</p>
  
  <ol>
  <li><p>Assign data context on View (either on XAML or code behind).</p></li>
  <li><p>Assign data context on ViewModel through constructor.</p></li>
  <li><p>Use some configuration that takes view and view model reference and bind data context on run time through some infrastructure classes.</p></li>
  </ol>
  
  <p>Which is the best option among this in terms of loosely coupled, maintainable? Or Is there any best approach?</p>