title: DataGridView - Use DataPropertyName to show child element property
body: <p>Lets image that I have the following classes</p>
  
  <pre><code>public class Master
  {
      public string MasterName = "Something";
  
      public List&lt;Detail&gt; details = new List&lt;Detail&gt;();
  }
  
  public class Detail 
  {
      public string Foo = "Test";
  }
  </code></pre>
  
  <p>And then I want to show the collection of Details objects in a DataGridView, using the code below</p>
  
  <pre><code>DataGridViewTextBoxColumn column = new DataGridViewTextBoxColumn();
  column.DataPropertyName = "Details.Foo";
  column.HeaderText = "Foo header";
  
  dgv.Columns.Add(column);
  </code></pre>
  
  <p>The column is shown in the grid, but without value</p>