title: Why is DataAnnotations <Display(Name:="My Name")> ignored when using a DataGrid with AutoGenerateColumns="True"
body: <p>I'm using the WPF DataGrid to bind to a collection of a custom class.  Using AutoGenerateColumns="True" in the grid XAML, the grid is created and populated just fine, but the headings are the property names, as one would expect.</p>
  
  <p>I tried specifying  </p>
  
  <pre><code>&lt;Display(Name:="My Name")&gt; 
  </code></pre>
  
  <p>from the System.ComponentModel.DataAnnotations namespace and that has no effect.  I also tried</p>
  
  <pre><code>&lt;DisplayName("My Name")&gt; 
  </code></pre>
  
  <p>from the System.ComponentModel name space but still the headings are not affected.</p>
  
  <p>Is there no way to specify column headings with the AutoGenerateColumns option?</p>