title: MVC WPF DataContext for two UserControls
body: <p>I'm creating a WPF Application.</p>
  
  <p>I have a View which implements two different User-Controls. 
  The Data Context for each Control needs to be the same, because when I change values in one control it should effect the other one. 
  As soon as I select a date in my view the DataContext (which is a List of information) should be set to each control.
  I already tried Binding the List to the Control. What kinda worked. The Listbox showed that there were elements but the content was not visible.</p>
  
  <pre><code>&lt;ListView x:Name="ListViewEmployees" ItemsSource="{Binding Employees}"&gt;
      &lt;ListView.Items&gt;
          &lt;Label x:Name="EmployeeId" Content="{Binding Path=EmployeeId}" Visibility="Collapsed" /&gt;
          &lt;Label x:Name="ShortForm" Content="{Binding Path=ShortForm}" Width="40"/&gt;
          &lt;Label x:Name="Degree" Content="{Binding Path=Degree}" Width="90"/&gt;
          &lt;Label x:Name="WorkingHours" Content="{Binding Path=WorkingHours}" Width="30"/&gt;
      &lt;/ListView.Items&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>So my question is, as soon as I pass the date to my controller and he gets the needed information from the database whats the way to pass the List to my user controls. Do I need to create an Interface which is implemented by the UserControls?</p>
  
  <p>I used the MVVM pattern a lot. But for this university thing we have to use mvc.
  A little advice would be great. </p>
  
  <p>cheers</p>