public IEnumerable<NodeControl> GetAllNodeControls() { var output = new List<NodeControl> {this}; output.AddRange(GetAllChildNodeControls()); return output; }
public void DeSelectAllChildsOfNode(NodeControl nodeControl) { foreach (var control in nodeControl.GetAllNodeControls()) { RemoveNode(control); } }