Implemented interface member:
property
Count
System.Collections.ICollection.Count
93 references to Count
System.Web.Mobile (93)
UI\MobileControls\Adapters\ChtmlSelectionListAdapter.cs (1)
65
if (items.
Count
== 0)
UI\MobileControls\Adapters\HtmlListAdapter.cs (1)
59
if (items.
Count
== 0)
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (4)
71
if (Control.Items.
Count
> 0)
128
Debug.Assert (Control.VisibleItemCount <= Control.Items.
Count
);
643
return Control.Commands.
Count
> 0;
661
int commandCount = Control.Commands.
Count
;
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (8)
56
if (items.
Count
== 0 &&
80
if (items.
Count
== 0 && !Device.CanRenderEmptySelects)
101
for(int itemIndex = 0; itemIndex < items.
Count
; itemIndex++)
152
for(int itemIndex = 0; itemIndex < items.
Count
; itemIndex++)
187
for(int itemIndex = 0; itemIndex < items.
Count
; itemIndex++)
270
Control.Items.
Count
> 0)
301
for (int i = 0; i < Control.Items.
Count
; i++)
337
for (int i = 0; i < items.
Count
; i++)
UI\MobileControls\Adapters\WmlListAdapter.cs (1)
67
if (items.
Count
== 0)
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (5)
76
Control.Items.
Count
> 0)
138
if (pageSize == 0 || items.
Count
== 0)
393
if(Control.Items.
Count
== 0)
445
return Control.Commands.
Count
> 0;
463
int commandCount = Control.Commands.
Count
;
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (5)
62
int count = items.
Count
;
114
int count = items.
Count
;
189
if (Control.Items.
Count
== 0)
198
Control.Items.
Count
> 0)
251
for (int i = 0; i < Control.Items.
Count
; i++)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicListAdapter.cs (2)
41
if (Control.Items.
Count
!= 0) {
52
if (items.
Count
== 0) {
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (4)
63
if (SecondaryUIMode == _modeDetails && Control.Items.
Count
> 0) {
136
return Control.Commands.
Count
> 0;
179
return Control.Commands.
Count
== 1 &&
638
return HasItemDetails() || (Control.Commands.
Count
> 0 && !OnlyHasDefaultCommand());
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (7)
40
if (Control.Items.
Count
== 0) {
73
for (int i = 0; i < Control.Items.
Count
; i++) {
126
Control.Items.
Count
> 0) {
151
for (int i = 0; i < Control.Items.
Count
; i++) {
176
for(int itemIndex = 0; itemIndex < items.
Count
; itemIndex++) {
236
for (int itemIndex = 0; itemIndex < Control.Items.
Count
; itemIndex++) {
276
for (int i = 0; i < items.
Count
; i++) {
UI\MobileControls\Design\Converters\DefaultCommandConverter.cs (2)
29
if (commands.
Count
== 0)
34
ArrayList commandList = new ArrayList(commands.
Count
);
UI\MobileControls\Design\ListDesigner.cs (3)
308
if (_list.IsTemplated || items.
Count
== 0)
310
int sampleRows = items.
Count
;
496
_numberItems = _list.Items.
Count
;
UI\MobileControls\Design\ObjectListDesigner.cs (1)
139
if ((oldAutoGenerateFields == false) && (_objectList.Fields.
Count
== 0))
UI\MobileControls\Design\SelectionListDesigner.cs (1)
273
if (items.
Count
> 0)
UI\MobileControls\DeviceSpecificChoiceCollection.cs (2)
74
if (index >= 0 && index <
Count
)
83
int index = Items.IndexOf(choice, 0,
Count
);
UI\MobileControls\List.cs (6)
224
if (IsTemplated && DataHelper.HasItems() && Items.
Count
> 0)
269
for (int i = 0; i < items.
Count
; i++)
353
Debug.Assert (Items.
Count
>= 0);
354
return Items.
Count
;
502
if (DataHelper.HasItems() && Items.
Count
> itemIndex - Items.BaseIndex)
523
if (e.ItemIndex != Items.BaseIndex || e.ItemCount != Items.
Count
)
UI\MobileControls\ListDataHelper.cs (1)
177
_dataSourceCount = Items.
Count
;
UI\MobileControls\MobileListItemCollection.cs (10)
70
int n =
Count
;
88
int count =
Count
;
240
if (count <
Count
)
315
if (changedCount ==
Count
)
330
if (
Count
> 0)
332
itemChanges = new Object[
Count
];
374
changes[0] = (int)
Count
;
382
bool[] selection = new bool[
Count
];
397
int diff =
Count
- count;
408
for (int i =
Count
; i < count; i++)
UI\MobileControls\ObjectList.cs (12)
280
int itemCount = ItemCount > 0 ? ItemCount : Items.
Count
;
316
if (selectedIndex >= 0 && selectedIndex < Items.
Count
)
387
int count = _fields.
Count
+ _autoGeneratedFields.
Count
;
646
for (int i = 0; i < items.
Count
; i++)
911
int autoGeneratedCount = (_autoGeneratedFields != null) ? _autoGeneratedFields.
Count
: 0;
966
if (_items != null && Items.
Count
> 0)
968
return Items.
Count
;
1186
Items.
Count
<= virtualIndex - Items.BaseIndex))
1208
if (e.ItemIndex != Items.BaseIndex || e.ItemCount != Items.
Count
)
1293
int count = Items.
Count
;
1546
if (physicalIndex >= 0 && physicalIndex < Items.
Count
)
UI\MobileControls\ObjectListFieldCollection.cs (5)
55
int n =
Count
;
145
if ((index >= 0) && (index <
Count
))
171
return Items.IndexOf(field, 0,
Count
);
252
int fieldsCount =
Count
;
276
int diff =
Count
- count;
UI\MobileControls\ObjectListItemCollection.cs (5)
57
int n =
Count
;
174
if (
Count
> 0)
176
itemChanges = new Object[
Count
];
200
int diff =
Count
- count;
211
for (int i =
Count
; i < count; i++)
UI\MobileControls\SelectionList.cs (7)
226
for (int i = 0; i < Items.
Count
; i++)
239
if (Items.
Count
== 0)
245
if (value < -1 || value >= Items.
Count
)
271
if (selectedIndex >= 0 && selectedIndex < Items.
Count
)
308
DataHelper.Items.
Count
> _cachedSelectedIndex)
523
int count = Items.
Count
;
538
for (int i = 0; i < Items.
Count
; i++)