title: Multiple views and data templates binding to the same viewmodel
body: <p>I am working on a usercontrol that is switching between two views. The usercontrol is bind/bound to a view model. I am able to switch between the two views but unable to bind to the properties of the mother viewmodel. below is the code</p>
  
  <pre><code>&lt;UserControl.Resources&gt;
      &lt;DataTemplate x:Key="DoubleViewKey" DataType="{x:Type viewmodels:ArithmeticViewModel}"&gt;
          &lt;views:ArithmeticDoubleFloatView&gt;&lt;/views:ArithmeticDoubleFloatView&gt;
      &lt;/DataTemplate&gt;
      &lt;DataTemplate x:Key="IntegerViewKey" DataType="{x:Type viewmodels:ArithmeticViewModel}"&gt;
          &lt;views:ArithmeticInt32View&gt;&lt;/views:ArithmeticInt32View&gt;
      &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>I am able to switch between the two views, the controls are also rendered properly. But they are empty even if the ArithmeticViewModel properties are not null. I hope my question makes sense, and thank you in advance for helping.</p>