title: Simple grid layout question
body: <p>I can't believe I'm back to this after working with WPF for 3 months :)</p>
  
  <p>Consider very common setup:</p>
  
  <p>How do I configure the rowheights so that the top and bottom rows (menu bar and status bar) size to fit the height of their content, and the middle row (main content), fills the remaining available space in the program?</p>
  
  <p>I can't fix the height of the top/bottom rows because the height of their content can vary.</p>
  
  <pre><code>&lt;Window&gt;
    &lt;Grid&gt;
      &lt;Grid.RowDefinitions&gt;
        &lt;RowDefinition/&gt;
        &lt;RowDefinition/&gt;
         &lt;RowDefinition/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
    &lt;Menu Grid.Row=0&gt;
    ...menuitems
    &lt;/Menu&gt;
  
        &lt;Grid Grid.Row=1&gt;
         ...main application content here (like most programs)
        &lt;/Grid&gt;
  
        &lt;StatusBar&gt;
        ...statusbaritems
        &lt;/StatusBar&gt;
     &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>