Implemented interface member:
property
Count
System.Collections.ICollection.Count
42 references to Count
System.Web (42)
UI\WebControls\TreeNode.cs (13)
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++) { 1555isLast[depth + 1] = (i == ChildNodes.Count - 1); 1608if (ChildNodes.Count > 0) { 1609for (int i = 0; i < ChildNodes.Count; i++) { 1633if (ChildNodes.Count > 0) {
UI\WebControls\TreeNodeCollection.cs (13)
73AddAt(Count, child); 107if (this.Count == 0) return; 112if (owner.CheckedNodes.Count != 0) { 155for (int i = 0; i < Count; i++) { 193if (owner.CheckedNodes.Count != 0) { 226for (int i = 0; i < Count; i++) { 242if (selectedNode != null || checkedNodes.Count != 0) { 310object[] nodes = new object[Count + 1]; 339for (int i = 0; i < Count; i++) { 353for (int i = 0; i < Count; i++) { 422if (index < (list.Count - 1)) { 428index = list.Count; 442if (index >= list.Count)
UI\WebControls\TreeView.cs (16)
1841bool parent = node.ChildNodes.Count != 0 || node.PopulateOnDemand; 2270bool parent = node.ChildNodes.Count != 0 || node.PopulateOnDemand; 2492if (nodes.Count > 0) { 2493for (int i = 0; i < nodes.Count; i++) { 2580for (int i = 0; i < Nodes.Count; i++) { 2852for (int i = 0; i < Nodes.Count; i++) { 2855isLast[0] = (i == (Nodes.Count - 1)); 2937if ((node.ChildNodes.Count == 0) || (node.Expanded != true)) { 2947else if (node.ChildNodes.Count == 0) { 2966if (node.ChildNodes.Count > 0) { 2968for (int i = 0; i < nodes.Count; i++) { 3293if (node.ChildNodes.Count > 0) { 3296for (int i = 0; i < node.ChildNodes.Count; i++) { 3392for (int i = 0; i < Nodes.Count; i++) { 3411if ((node.ChildNodes.Count > 0) && (lastIndex != -1)) { 3413for (int j = 0; j < nodes.Count; j++) {