title: Reset Expander to default collapse behavior
body: <p>I'm using an expander inside a <a href="http://kentb.blogspot.com/2007/04/resizer-wpf-control.html" rel="nofollow noreferrer">Resizer</a> (a ContentControl with a resize gripper), and it expands/collapses properly when the control initially comes up.  Once I resize it, the Expander won't properly collapse, as documented below.  I ran Snoop on my application, and I don't see any heights set on Expander or its constituents.  </p>
  
  <p>How would I go about convincing Expander to collapse properly again?  Or modifying Resizer to not make Expander sad would work as well.</p>
  
  <p>Expander documentation says:</p>
  
  <blockquote>
    <p>"For an Expander to work correctly, do not specify a Height on the Expander control when the ExpandDirection property is set to Down or Up. Similarly, do not specify a Width on the Expander control when the ExpandDirection property is set to Left or Right. When you set a size on the Expander control in the direction that the expanded content is displayed, the area that is defined by the size parameter is displayed with a border around it. This area displays even when the window is collapsed. To set the size of the expanded window, set size dimensions on the content of the Expander control or the ScrollViewer that encloses the content."</p>
  </blockquote>