title: I need to rollup an expander AND the stackpanel object it sits on in the window
body: <p>Here is the code I have and wondered how I could completely rollup the stack, expander and objects within it to push all objects below it to take up the space left after rolling up the upper stack and objects.  My current code is below:</p>
  
  <pre><code>&lt;Grid&gt;
   &lt;StackPanel Margin="8,8,0,0" VerticalAlignment="Top" Height="225"&gt;
    &lt;Expander Header="Expander"&gt;
     &lt;Grid Height="201"&gt;
      &lt;ListBox HorizontalAlignment="Left" Margin="103,63,0,38" Width="100"&gt;
       &lt;ListBoxItem Content="Brown"/&gt;
       &lt;ListBoxItem Content="Red"/&gt;
       &lt;ListBoxItem Content="Green"/&gt;
       &lt;ListBoxItem Content="Yellow"/&gt;
      &lt;/ListBox&gt;
     &lt;/Grid&gt;
    &lt;/Expander&gt;
   &lt;/StackPanel&gt;
   &lt;StackPanel Margin="0,0,0,8" VerticalAlignment="Bottom" Height="221"&gt;
    &lt;Expander Header="Expander"&gt;
     &lt;Grid Height="194"&gt;
      &lt;ListBox Margin="177,21,213,73"&gt;
       &lt;ListBoxItem Content="Gold"/&gt;
       &lt;ListBoxItem Content="Silver"/&gt;
       &lt;ListBoxItem Content="Platinum"/&gt;
       &lt;ListBoxItem Content="Palladium"/&gt;
      &lt;/ListBox&gt;
     &lt;/Grid&gt;
    &lt;/Expander&gt;
   &lt;/StackPanel&gt;
  
  &lt;/Grid&gt;
  </code></pre>