title: Issue with binding class to gridview in WPF
body: <p>I'm trying to bind an observablecollection of a custom class to a simple gridview.</p>
  
  <p>This is the gridview template:</p>
  
  <pre><code>&lt;ListView Name="TestGrid" Grid.Row="1" Margin="0,10,0,0" ItemsSource="{Binding Path=testlist}"&gt;
          &lt;GridView&gt;
              &lt;GridViewColumn DisplayMemberBinding="{Binding Path=AlertType}" Header="Alert" /&gt;
              &lt;GridViewColumn DisplayMemberBinding="{Binding Path=Target}" Header="Target" /&gt;
              &lt;GridViewColumn DisplayMemberBinding="{Binding Path=Message}" Header="Message" /&gt;
          &lt;/GridView&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>This is the code behind:</p>
  
  <pre><code>public ObservableCollection&lt;TestClass&gt; testlist {get; set;}
  
  public MainWindow()
   {
          InitializeComponent();
  
          testlist = new ObservableCollection&lt;TestClass&gt;();
          testlist.Add(new TestClass("Type1","Target1","Message1"));
          testlist.Add(new TestClass("Type2", "Target2", "Message2"));
   }
  
  public class TestClass
  {
      public string AlertType { get; set; }
      public string Target { get; set; }
      public string Message { get; set; }
  
      public TestClass(string a, string t, string m)
      {
          AlertType = a;
          Target = t;
          Message = m;
      }
  }
  </code></pre>
  
  <p>Now I've been following exactly the samples I could find on the internet. Unfortunately the only result I get in my gridview is a unique line displaying the follwoing message: <strong>"System.Windows.Controls.Columns.Count:3"</strong></p>
  
  <p>What am I missing here ?</p>