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