title: Datagrid column formatting: how to specify multiline and right-align text?
body: <p>I have a WPF datagrid with 2 columns below.
  I would like to have the first column displayed in multiple lines when the book title is long and I'd like the price to be right aligned.</p>
  
  <p>Which properties do I set in this code or should I use a template? If I should use a template, I'd like some pointers as I am new to this. Thanks.   </p>
  
  <pre><code>   &lt;DataGrid.Columns&gt;
           &lt;DataGridTextColumn Binding="{Binding XPath=BookTitle}" Header="Book Title" /&gt;
           &lt;DataGridTextColumn Binding="{Binding XPath=Price}" Header="Price" /&gt;
     &lt;/DataGrid.Columns&gt;
  </code></pre>