title: WPF StackPanel vertical Frame full height
body: <p>I need to fill empty space with last element in stackpanel (Frame):</p>
  
  <pre><code>    &lt;DockPanel&gt;
          &lt;StackPanel Orientation="Vertical"&gt;
              &lt;Frame NavigationUIVisibility="Hidden" Height="100" x:Name="_menu" /&gt;
              &lt;Frame NavigationUIVisibility="Hidden" x:Name="_mainFrame" /&gt;
          &lt;/StackPanel&gt;
      &lt;/DockPanel&gt;
  </code></pre>
  
  <p>_mainFrame - fill empty space from _menu Frame to the bottom</p>