public bool ParentExpended() { if (ParentControl != null) { return(ParentControl.isExpanded && ParentControl.ParentExpended()); } else { return(true); } }