title: WPF DockPanel with Toolbar and Statusbar
body: <p>I'm learning WPF and am trying to have a form that consists of a toolbar at the top, a statusbar at the bottom and the rest will be occupied by controls used for data entry.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>&lt;Window x:Class="MyApp.MyForm"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="MyForm" Height="346" Width="459"&gt;
      &lt;DockPanel&gt;
          &lt;ToolBarTray DockPanel.Dock="Top"&gt;
              &lt;ToolBar&gt;
                  &lt;Button Command="New" Content="New" /&gt;
                  &lt;Button Command="Open" Content="Open" /&gt;
                  &lt;Button Command="Save" Content="Save" /&gt;
              &lt;/ToolBar&gt;
          &lt;/ToolBarTray&gt;
      &lt;/DockPanel&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>How do I add a statusbar at the bottom and another panel that will occupy the rest of the form?</p>