title: WPF DataGrid display multiple types
body: <p>What is the best way to display multiple types of data in a WPF datagrid.
  For example for categories and products:</p>
  
  <pre>
  | Product Name | Description  | Price |
  ---------------------------------------
  IT  - category
  ---------------------------------------
    Monitors - category
  ---------------------------------------
  | Monitor 1    | ...          | 100 $ |
  | Monitor 2    | ...          |  99 $ |
  | Monitor 3    | ...          | 120 $ |
  ---------------------------------------
    HDD - category
  ---------------------------------------
  | Hdd 1        | ...          | 50 $ |
  | Hdd 2        | ...          | 45 $ |
  ---------------------------------------
  Electronics category
  ---------------------------------------
   ...
  </pre>
  
  <p>I would like to display on top the product columns, and change the template for categories.
  I know there is a cell template selector, but is there a way to specify a template selector for an entire row?
  Thank you.</p>