I'm trying to resize/shrink a Panel to zero before it's
removed from the display list but the children don't resize
correctly. The panel correctly shrinks down to zero but there is a
small part of the content pane that remains. I have also seen other
odd behavior while resizing containers. Someone suggested capturing
the container as a Bitmap and resizing that but the degradation
makes it look awful. What is the "correct" way to do this?