public virtual void Expand() { if (!Collapsible) { return; } setExpanded(true); foreach (var relatedItemNode in Destinations.Cast <GoObject>().Where(obj => obj != this).OfType <RelatedItemNode>()) { setVisibility(relatedItemNode, visible: true); setSourceLinkVisibility(relatedItemNode, visible: true); } }