Implemented interface member:
property
Count
System.Collections.ICollection.Count
71 references to Count
System.Web (57)
UI\Control.cs (16)
1571
int controlCount = _controls.
Count
;
1628
int controlCount = _controls.
Count
;
1710
int controlCount = _controls.
Count
;
1767
int controlCount = _controls.
Count
;
2088
int ctrlCount = ctrlColl.
Count
;
2267
int controlCount = _controls.
Count
;
2298
int controlCount = _controls.
Count
;
2344
int controlCount = _controls.
Count
;
2387
int controlCount = _controls.
Count
;
2440
int controlCount = _controls.
Count
;
2526
int occasionalFieldControlCount = occasionalFieldControls.
Count
;
2700
int controlCount = _controls.
Count
;
3083
Debug.Assert((controls != null) && (controls.
Count
!= 0));
3085
int controlCount = controls.
Count
;
3225
return _controls != null && _controls.
Count
> 0;
3259
return (_controls != null) && (_controls.
Count
== 1) &&
UI\ControlCollection.cs (3)
350
if (index < (list.
Count
-1)) {
360
index = list.
Count
;
374
if (index >= list.
Count
)
UI\HtmlControls\HtmlContainerControl.cs (2)
73
else if (HasControls() && (Controls.
Count
== 1) && Controls[0] is DataBoundLiteralControl)
76
if (Controls.
Count
== 0)
UI\HtmlControls\HtmlTableCellCollection.cs (1)
54
return owner.Controls.
Count
;
UI\HtmlControls\HtmlTableRowCollection.cs (1)
55
return owner.Controls.
Count
;
UI\WebControls\AutoGeneratedField.cs (1)
144
if (cell.Controls.
Count
> 0) {
UI\WebControls\BoundField.cs (1)
340
if (cell.Controls.
Count
> 0) {
UI\WebControls\CheckBoxField.cs (1)
237
if (cell.Controls.
Count
> 0) {
UI\WebControls\DataGrid.cs (1)
1639
if (Controls.
Count
== 0)
UI\WebControls\DataList.cs (3)
987
item = (DataListItem)Controls[Controls.
Count
- 1];
1217
int controlCount = controls.
Count
;
1334
if (Controls.
Count
== 0)
UI\WebControls\DetailsView.cs (1)
3222
if (Controls.
Count
< 1) {
UI\WebControls\FormView.cs (2)
2767
if (Controls.
Count
< 1) {
2869
if (Controls.
Count
> 0) {
UI\WebControls\GridView.cs (1)
3951
if (Controls.
Count
== 0)
UI\WebControls\ImageField.cs (3)
283
if (cell.Controls.
Count
== 0) { // this should happen only in design mode
482
if (boundControl.Controls.
Count
== 0 || !(boundControl.Controls[0] is Image)) {
495
if (cell.Controls.
Count
< 2 || !(cell.Controls[0] is Image) || !(cell.Controls[1] is Label)) {
UI\WebControls\MultiView.cs (9)
75
if (Views.
Count
== 0 && ControlState < ControlState.FrameworkInitialized /* Whidbey 113333 */) {
79
if (value >= Views.
Count
) {
81
SR.GetString(SR.MultiView_ActiveViewIndex_equal_or_greater_than_count, value, Views.
Count
));
90
if (originalIndex != value && originalIndex != -1 && originalIndex < Views.
Count
) {
96
if (originalIndex != value && Views.
Count
!= 0 && value != -1) {
187
if (activeViewIndex >= Views.
Count
) {
206
for (int i=0; i<Views.
Count
; ++i) {
265
if (ActiveViewIndex < Views.
Count
- 1) {
325
if (((View)ctl).Active && ActiveViewIndex < Views.
Count
) {
UI\WebControls\TableCellCollection.cs (2)
50
return owner.Controls.
Count
;
78
return owner.Controls.
Count
- 1;
UI\WebControls\TableRowCollection.cs (2)
45
return owner.Controls.
Count
;
73
return owner.Controls.
Count
- 1;
UI\WebControls\Wizard.cs (1)
3516
return Views.
Count
;
UI\WebParts\DeclarativeCatalogPart.cs (2)
132
Control[] controls = new Control[container.Controls.
Count
];
148
Control[] controls = new Control[userControl.Controls.
Count
];
UI\WebParts\PropertyGridEditorPart.cs (1)
107
int count = Controls.
Count
;
UI\WebParts\WebPartManager.cs (1)
4025
int webPartsCount = Controls.
Count
;
UI\WebParts\WebPartZone.cs (1)
83
Control[] children = new Control[control.Controls.
Count
];
UI\WebParts\WebPartZoneBase.cs (1)
757
WebPart[] parts = new WebPart[Controls.
Count
];
System.Web.Extensions (2)
UI\UpdatePanel.cs (1)
467
Debug.Assert(
Count
== 0, "The collection must be empty if this is called");
UI\WebControls\ListView.cs (1)
1994
if (this.Controls.
Count
== 0 || _instantiatedEmptyDataTemplate) {
System.Web.Mobile (12)
UI\MobileControls\Design\BaseValidatorDesigner.cs (1)
60
for (int i = _baseValidator.Controls.
Count
- 1; i >= 0; i--)
UI\MobileControls\Design\CommandDesigner.cs (1)
84
children = new Control[_command.Controls.
Count
];
UI\MobileControls\Design\LabelDesigner.cs (1)
87
children = new Control[_label.Controls.
Count
];
UI\MobileControls\Design\LinkDesigner.cs (1)
87
children = new Control[_link.Controls.
Count
];
UI\MobileControls\Design\MobileControlDesigner.cs (1)
372
children = new Control[_mobileControl.Controls.
Count
];
UI\MobileControls\Design\MobileControlPersister.cs (1)
957
int children = controls.
Count
;
UI\MobileControls\Design\PhoneCallDesigner.cs (1)
88
children = new Control[_call.Controls.
Count
];
UI\MobileControls\Design\TextViewDesigner.cs (1)
92
children = new Control[_textView.Controls.
Count
];
UI\MobileControls\List.cs (1)
218
ChildControlsCreated = ChildControlsCreated && Controls.
Count
> 0;
UI\MobileControls\MobileControl.cs (1)
1019
for (int i = Controls.
Count
- 1; i >= 0; i--)
UI\MobileControls\MobilePage.cs (1)
222
int probableFormCount = Controls.
Count
/ 2; // since there are literal controls between each
UI\MobileControls\ObjectList.cs (1)
477
ChildControlsCreated = ChildControlsCreated && Controls.
Count
> 0;