Implemented interface member:
property
Count
System.Collections.ICollection.Count
43 references to Count
System.Web (43)
UI\WebControls\Adapters\MenuAdapter.cs (4)
225if (owner.StaticDisplayLevels > 1 && child.ChildItems.Count > 0) { 235if (depth + 1 < maxDepth && child.ChildItems.Count > 0) { 367(childItems.Count == 0) || 612if (item.ChildItems.Count > 0) {
UI\WebControls\Menu.cs (5)
1820for (int i = 0; i < item.ChildItems.Count; i++) { 2179mi.ChildItems.Count > 0 && 2233if (Items.Count > 0) { 2245if (Items.Count > 0) { 2291if (Items.Count > 0) {
UI\WebControls\MenuItem.cs (17)
597if (ChildItems.Count > 0) { 662if (ChildItems.Count > 0 && nextDepth < _owner.MaximumDepth) { 703for (int i = 0; i < ChildItems.Count; i++) { 710for (int i = 0; i < ChildItems.Count; i++) { 737for (int i = 0; i < ChildItems.Count; i++) { 739&& ChildItems[i].ChildItems.Count != 0 775for (int i = 0; i < ChildItems.Count; i++) { 776if (ChildItems[i].ChildItems.Count != 0 837if ((Selectable && Enabled) || ChildItems.Count != 0) { 849if ((Selectable && Enabled) || ChildItems.Count != 0) { 951else if ((ChildItems.Count != 0) && (depthPlusOne >= _owner.StaticDisplayLevels)) { 1018if (((Depth + 1) < _owner.StaticDisplayLevels) && (ChildItems.Count != 0)) { 1031(_owner.Items.Count != 0) && 1032(parent != _owner.Items[_owner.Items.Count - 1])) || 1034(parent.Parent.ChildItems.Count != 0) && 1035(parent != parent.Parent.ChildItems[parent.Parent.ChildItems.Count - 1]))) { 1194if (ChildItems.Count > 0) {
UI\WebControls\MenuItemCollection.cs (9)
101if (this.Count == 0) return; 152for (int i = 0; i < Count; i++) { 210for (int i = 0; i < Count; i++) { 261object[] nodes = new object[Count + 1]; 290for (int i = 0; i < Count; i++) { 304for (int i = 0; i < Count; i++) { 373if (index < (list.Count - 1)) { 379index = list.Count; 393if (index >= list.Count)
UI\WebControls\MenuRendererClassic.cs (6)
264for (int i = 0; i < Menu.Items.Count; i++) { 267if (Menu.Items[i].ChildItems.Count != 0) { 278for (int i = 0; i < Menu.Items.Count; i++) { 281if (Menu.Items[i].ChildItems.Count != 0) { 291for (int i = 0; i < Menu.Items.Count; i++) { 313for (int i = 0; i < Menu.Items.Count; i++) {
UI\WebControls\MenuRendererStandards.cs (2)
560if (item.ChildItems.Count > 0 && !IsChildPastMaximumDepth(item) && item.Enabled) { 577return (item.ChildItems.Count > 0) && IsChildDepthDynamic(item) && !IsChildPastMaximumDepth(item);