title: How to use LoadingRowGroup in SilverLight DataGrid
body: <p>I want to use LoadingRowGroup event in SilverLight DataGrid to display a group summary. </p>
  
  <p>I have an event:</p>
  
  <pre><code>void dataGrid1_LoadingRowGroup(object sender, DataGridRowGroupHeaderEventArgs e)
  {                        
      // e.RowGroupHeader
  }
  </code></pre>
  
  <p>but I don't know how to use e.RowGroupHeader to set group header value. Maybe I should use e.RowGroupHeader.Template, but I don't know how to set a template by code.</p>