public void Collapse()
{
this.collapsed = true;
if (!this.Animating && this.Height != this.HeaderHeight)
{
this.Height = this.headerHeight;
// fix: Raise StateChanged event
// Jewlin ([email protected])
// 22/10/2004
// v3.0
this.OnStateChanged(new ExpandoEventArgs(this));
}
}