title: StatusBar at the bottom of a DataGrid
body: <p>How can I extend Datagrid in order to have StatusBar at the bottom of it? It should be something like:</p>
  
  <pre><code>&lt;CustomControl&gt;   
       &lt;StackPanel&gt;
            &lt;DataGrid&gt;&lt;/DataGrid&gt;
            &lt;StatusBar&gt;&lt;/StatusBar&gt;
       &lt;/StackPanel&gt;
  &lt;/CustomControl&gt;
  </code></pre>
  
  <p>If I will create CustomControl there will be no way i could specify DataGrid.ItemSource and DataGrid.SelectedItem when I will use that control.</p>
  
  <p>But I would like to use it like that:</p>
  
  <pre><code>&lt;CustomDataGrid ItemSource="{Binding Something}" SelectedItem="{Binding Otherthing}"&gt;
       &lt;CustomDataGrid.Columns&gt;
            &lt;DataGridTextColumn/&gt;
            &lt;DataGridTextColumn/&gt;
       &lt;/CustomDataGrid.Columns&gt;
  &lt;/CustomDataGrid&gt;
  </code></pre>