public void ToggleCollapsed() { this.IsCollapsed = !this.IsCollapsed; if (this.CollapseBoxClickedEvent != null) this.CollapseBoxClickedEvent(this); }