public override int GetHashCode() { int result = 0; if (SelectedNode != null) { result ^= SelectedNode.GetHashCode(); } return(result); }