title: Some irritations with ListView and DataContext
body: <p>I've wrote the following C# and XAML Code: </p>
  
  <pre><code>namespace ListViewExample1
  {
  public partial class MainWindow : Window
  {
      public ObservableCollection&lt;MyColleague&gt; myCollegues = new ObservableCollection&lt;MyColleague&gt;();
  
      public MainWindow()
      {
          myCollegues.Add(new MyColleague() { Name = "Tim", Surname = "Meier" });
          myCollegues.Add(new MyColleague() { Name = "Martin", Surname = "Hansen" });
          myCollegues.Add(new MyColleague() { Name = "Oliver", Surname = "Drumm" });
  
  
          InitializeComponent();
      }
  
      public ObservableCollection&lt;MyColleague&gt; MyColleagues 
      {
          get { return this.myCollegues; }
      }
  }
  
  public class MyColleague
  {
      public String Name { get; set; }
  
      public String Surname { get; set; }
  }
  }
  </code></pre>
  
  <p>XAML-Code:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;ListView ItemsSource="{Binding}" DataContext="{Binding RelativeSource={RelativeSource ListViewExample1:MainWindow}, Path=myCollegues}"&gt;
          &lt;ListView.View &gt;
              &lt;GridView &gt;
                  &lt;GridViewColumn Header="Name" Width="150" DisplayMemberBinding="{Binding Name}"/&gt;
                  &lt;GridViewColumn Header="Surname" Width="150" DisplayMemberBinding="{Binding Surname}"/&gt;
              &lt;/GridView&gt;
          &lt;/ListView.View&gt;
      &lt;/ListView&gt; 
  &lt;/Grid&gt;
  </code></pre>
  
  <p>Now I need to set the datacontext, but at this point I have some irritations. Which DataContext-Syntax is right?</p>