39 references to Items
System.Web.Mobile (39)
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (4)
71
if (Control.
Items
.Count > 0)
128
Debug.Assert (Control.VisibleItemCount <= Control.
Items
.Count);
152
ObjectListItemCollection items = Control.
Items
;
264
ObjectListItemCollection items = Control.
Items
;
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (3)
76
Control.
Items
.Count > 0)
136
ObjectListItemCollection items = Control.
Items
;
393
if(Control.
Items
.Count == 0)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (3)
63
if (SecondaryUIMode == _modeDetails && Control.
Items
.Count > 0) {
395
ObjectListItemCollection items = Control.
Items
;
436
ObjectListItemCollection items = Control.
Items
;
UI\MobileControls\ObjectList.cs (29)
280
int itemCount = ItemCount > 0 ? ItemCount :
Items
.Count;
316
if (selectedIndex >= 0 && selectedIndex <
Items
.Count)
318
Debug.Assert (
Items
[selectedIndex].Selected);
319
return
Items
[selectedIndex];
633
ObjectListItemCollection items =
Items
;
721
Items
.Clear();
730
item.SetIndex(count +
Items
.BaseIndex);
731
Items
.Add(item);
746
item.SetIndex(count +
Items
.BaseIndex);
747
Items
.Add(item);
966
if (_items != null &&
Items
.Count > 0)
968
return
Items
.Count;
1138
OnItemCommand(new ObjectListCommandEventArgs(
Items
[itemCollIndex], DefaultCommand));
1148
Items
[itemCollIndex],
1185
virtualIndex <
Items
.BaseIndex ||
1186
Items
.Count <= virtualIndex -
Items
.BaseIndex))
1194
Debug.Assert(ItemCount > 0 ||
Items
.BaseIndex == 0);
1198
return virtualIndex -
Items
.BaseIndex;
1208
if (e.ItemIndex !=
Items
.BaseIndex || e.ItemCount !=
Items
.Count)
1211
Items
.BaseIndex = e.ItemIndex;
1212
Items
.Clear();
1292
Debug.Assert (
Items
!= null, "get_Items should initialize Items collection.");
1293
int count =
Items
.Count;
1348
((IStateManager)
Items
).LoadViewState(state[4]);
1523
Items
.Clear();
1546
if (physicalIndex >= 0 && physicalIndex <
Items
.Count)
1548
Items
[physicalIndex].Selected = newValue;