title: WPF: Bind DataGrid to List<String>
body: <p>Funny, how sometimes the simple things bite me in the behind.</p>
  
  <p>I can bind a DataGrid nicely to a Collection of some arbitrary class, using a DataGridTextColumn like this:</p>
  
  <pre><code>// bound to List&lt;Class&gt;
  &lt;DataGridTextColumn Header="Name" Binding="{Binding Name}"/&gt;
  </code></pre>
  
  <p>Now I want to bind a DataGrid to a simple Collection of String. So since there is no property "Name" or something like that to bind to, how do I write the binding:</p>
  
  <pre><code>// bound to List&lt;String&gt;
  &lt;DataGridTextColumn Header="Name" Binding="{Binding ???}"/&gt;
  </code></pre>
  
  <p>String has no Property "Value" or something like that. And if I just write {Binding } I'll end up with a one-way-binding, unable to write changes back to the Collection.</p>
  
  <p>Thinking about it, I think it is not possible to bind to a collection, so I do need to wrap my string into a class?<br>
  Or is there a way?</p>