38 references to ChildNodes
System.Web (38)
UI\WebControls\TreeNode.cs (19)
258else if ((value == false) && (oldValue == true) && (ChildNodes.Count > 0)) { 813Debug.Assert(ChildNodes.Count > 0, "No nodes for expansion, why are we rendering an expander?"); 838if ((Depth == 0) && (ChildNodes.Count > 0)) { 841else if ((ChildNodes.Count > 0) || PopulateOnDemand) { 870if (!Populated && (ChildNodes.Count == 0)) { 960bool canExpand = (PopulateOnDemand || (ChildNodes.Count > 0)) && _owner.ShowExpandCollapse; 1178if (ChildNodes.Count != 0) { 1507if (ChildNodes.Count > 0) { 1553for (int i = 0; i < ChildNodes.Count; i++) { 1554TreeNode node = ChildNodes[i]; 1555isLast[depth + 1] = (i == ChildNodes.Count - 1); 1580foreach (TreeNode child in ChildNodes) { 1608if (ChildNodes.Count > 0) { 1609for (int i = 0; i < ChildNodes.Count; i++) { 1610ChildNodes[i].SetExpandedRecursive(value); 1633if (ChildNodes.Count > 0) { 1634ChildNodes.SetDirty(); 1675foreach (TreeNode node in ChildNodes) { 1745((IStateManager)ChildNodes).LoadViewState(nodeState[1]);
UI\WebControls\TreeNodeCollection.cs (3)
87child.Parent.ChildNodes.Remove(child); 158return node.ChildNodes.FindNode(path, pos + 1); 243foreach (TreeNode child in node.ChildNodes) {
UI\WebControls\TreeView.cs (16)
844return RootNode.ChildNodes; 1423node.ChildNodes.Clear(); 1692node.ChildNodes.Add(newNode); 1816ExpandToDepth(node.ChildNodes, depth); 1841bool parent = node.ChildNodes.Count != 0 || node.PopulateOnDemand; 2270bool parent = node.ChildNodes.Count != 0 || node.PopulateOnDemand; 2491TreeNodeCollection nodes = node.ChildNodes; 2937if ((node.ChildNodes.Count == 0) || (node.Expanded != true)) { 2947else if (node.ChildNodes.Count == 0) { 2966if (node.ChildNodes.Count > 0) { 2967TreeNodeCollection nodes = node.ChildNodes; 3293if (node.ChildNodes.Count > 0) { 3296for (int i = 0; i < node.ChildNodes.Count; i++) { 3297SaveNodeState(node.ChildNodes[i], ref lastIndex, expandState, true); 3411if ((node.ChildNodes.Count > 0) && (lastIndex != -1)) { 3412TreeNodeCollection nodes = node.ChildNodes;