private void CollapseAnimation()
{
// Store original size.
inflatedSize = Plane == Plane.Horizontal ? Width : Height;
FixContentSize();
// Animate.
Dictionary properties = new Dictionary();
properties[CssAttribute] = 0;
Container.Animate(
properties,
Slide.ToMsecs(),
Slide.Easing,
FireCollapsed);
}
#endregion