52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
135
for (int k = 0, n =
Items
.Count; k < n; ++k)
137
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
141
return
Items
[k];
259
for (int k = 0, n =
Items
.Count; k < n; ++k)
261
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
277
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
Items
[k]))
306
for (int k = 0, n = group.
Items
.Count; k < n; ++k)
309
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.
Items
[k])) ||
316
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
329
for (int k = 0, n =
Items
.Count; k < n; ++k)
331
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
349
return
Items
[k];
493
CollectionViewGroupInternal subgroup =
Items
[i] as CollectionViewGroupInternal;
811
if (_index >= _group.
Items
.Count)
814
CollectionViewGroupInternal subgroup = _group.
Items
[_index] as CollectionViewGroupInternal;
818
_current = _group.
Items
[_index];
839
if (_index < 0 || _index >= _group.
Items
.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
531
group.LastIndex = (group.
Items
[index] == subgroup ? index : 0);
539
for (int n = group.
Items
.Count; index < n; ++index)
541
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
621
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
623
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
734
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
736
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
780
for (int k = group.
Items
.Count - 1; k >= 0; --k)
782
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
60
positionInSet = parent.
Items
.IndexOf(group) + 1;
89
sizeOfSet = parent.
Items
.Count;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
398
newCollection = currentGroup.
Items
;
System\Windows\Controls\DataGrid.cs (4)
5632
if (cvg != null && cvg.
Items
.Count > 0)
5635
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.
Items
[0], currentInfo.Item)) ||
5636
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.
Items
[cvg.
Items
.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1999
items = group.
Items
;
System\Windows\Data\BindingListCollectionView.cs (9)
357
get { return (_isGrouping) ? _group.
Items
: null; }
534
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
539
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
817
index = _group.
Items
.Count - 1;
823
index = _group.
Items
.Count - 2;
2304
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2308
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
2356
index = _group.
Items
.Count;
2362
index = _group.
Items
.Count - 1;
System\Windows\Data\ListCollectionView.cs (9)
261
get { return (IsGrouping) ? _group.
Items
: null; }
648
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
653
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
921
index = _group.
Items
.Count - 1;
927
index = _group.
Items
.Count - 2;
3000
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
3004
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
3053
index = _group.
Items
.Count;
3059
index = _group.
Items
.Count - 1;