52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
133
for (int k = 0, n =
Items
.Count; k < n; ++k)
135
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
139
return
Items
[k];
257
for (int k = 0, n =
Items
.Count; k < n; ++k)
259
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
275
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
Items
[k]))
304
for (int k = 0, n = group.
Items
.Count; k < n; ++k)
307
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.
Items
[k])) ||
314
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
327
for (int k = 0, n =
Items
.Count; k < n; ++k)
329
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
347
return
Items
[k];
491
CollectionViewGroupInternal subgroup =
Items
[i] as CollectionViewGroupInternal;
809
if (_index >= _group.
Items
.Count)
812
CollectionViewGroupInternal subgroup = _group.
Items
[_index] as CollectionViewGroupInternal;
816
_current = _group.
Items
[_index];
837
if (_index < 0 || _index >= _group.
Items
.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
528
group.LastIndex = (group.
Items
[index] == subgroup ? index : 0);
536
for (int n = group.
Items
.Count; index < n; ++index)
538
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
618
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
620
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
731
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
733
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
777
for (int k = group.
Items
.Count - 1; k >= 0; --k)
779
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
48
positionInSet = parent.
Items
.IndexOf(group) + 1;
77
sizeOfSet = parent.
Items
.Count;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
388
newCollection = currentGroup.
Items
;
System\Windows\Controls\DataGrid.cs (4)
5629
if (cvg != null && cvg.
Items
.Count > 0)
5632
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.
Items
[0], currentInfo.Item)) ||
5633
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.
Items
[cvg.
Items
.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1993
items = group.
Items
;
System\Windows\Data\BindingListCollectionView.cs (9)
352
get { return (_isGrouping) ? _group.
Items
: null; }
529
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
534
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
812
index = _group.
Items
.Count - 1;
818
index = _group.
Items
.Count - 2;
2299
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2303
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
2351
index = _group.
Items
.Count;
2357
index = _group.
Items
.Count - 1;
System\Windows\Data\ListCollectionView.cs (9)
255
get { return (IsGrouping) ? _group.
Items
: null; }
642
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
647
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
915
index = _group.
Items
.Count - 1;
921
index = _group.
Items
.Count - 2;
2994
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2998
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
3047
index = _group.
Items
.Count;
3053
index = _group.
Items
.Count - 1;