Implemented interface member:
property
Count
System.Collections.ICollection.Count
37 references to Count
System.Web (37)
UI\HtmlControls\HtmlSelect.cs (9)
356for (int i=0; i < Items.Count; i++) { 362if (Items.Count > 0) 371if (Items.Count == 0) { 375if (value < -1 || value >= Items.Count) { 397for (int i=0; i < Items.Count; i++) { 455return(i < 0 || i >= Items.Count) ? String.Empty : Items[i].Value; 499for (int i=0; i < Items.Count; i++) 829int n = liCollection.Count; 896if (n >= 0 && n < Items.Count)
UI\WebControls\BulletedList.cs (2)
457if (Items.Count == 0 && !RenderWhenDataEmpty) { 472for (int i = 0; i < Items.Count; i++) {
UI\WebControls\CheckBoxList.cs (4)
248for (int i=0; i < Items.Count; i++) { 270if (Items.Count == 0 && !EnableLegacyRendering && !RenderWhenDataEmpty) { 367if (index >= 0 && index < Items.Count) { 491return (Items != null) ? Items.Count : 0;
UI\WebControls\DropDownList.cs (1)
103if (selectedIndex < 0 && Items.Count > 0) {
UI\WebControls\ListControl.cs (12)
292for (int i=0; i < Items.Count; i++) { 300if (Items.Count == 0) { 309if ((Items.Count != 0 && value < Items.Count) || value == -1) { 339for (int i=0; i < Items.Count; i++) { 389if (Items.Count != 0) { 552for (int i=0; i < Items.Count; i++) 692Items.Capacity = collection.Count + Items.Count; 775int n = liCollection.Count; 844if (n >= 0 && n < Items.Count) 874if (Items.Count != 0) { 875if (selectedIndex < Items.Count) {
UI\WebControls\ListItemCollection.cs (4)
346if (index < Count) 381for (int i=0; i < Count; i++) 394int count = Count; 410for (int i=0; i < Count; i++) {
UI\WebControls\RadioButtonList.cs (3)
254int n = Items.Count; 316if (Items.Count == 0 && !EnableLegacyRendering && !RenderWhenDataEmpty) { 444return (Items != null) ? Items.Count : 0;
UI\WebParts\CatalogZoneBase.cs (2)
673if (zonesDropDownList.Items.Count > 0) { 685if (zonesDropDownList.Items.Count > 0) {