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];
251
for (int k = 0, n =
Items
.Count; k < n; ++k)
253
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
269
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
Items
[k]))
298
for (int k = 0, n = group.
Items
.Count; k < n; ++k)
301
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.
Items
[k])) ||
308
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
321
for (int k = 0, n =
Items
.Count; k < n; ++k)
323
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
341
return
Items
[k];
482
CollectionViewGroupInternal subgroup =
Items
[i] as CollectionViewGroupInternal;
783
if (_index >= _group.
Items
.Count)
786
CollectionViewGroupInternal subgroup = _group.
Items
[_index] as CollectionViewGroupInternal;
790
_current = _group.
Items
[_index];
811
if (_index < 0 || _index >= _group.
Items
.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
524
group.LastIndex = (group.
Items
[index] == subgroup ? index : 0);
532
for (int n = group.
Items
.Count; index < n; ++index)
534
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
614
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
616
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
727
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
729
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
773
for (int k = group.
Items
.Count - 1; k >= 0; --k)
775
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
47
positionInSet = parent.
Items
.IndexOf(group) + 1;
76
sizeOfSet = parent.
Items
.Count;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
381
newCollection = currentGroup.
Items
;
System\Windows\Controls\DataGrid.cs (4)
5584
if (cvg != null && cvg.
Items
.Count > 0)
5587
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.
Items
[0], currentInfo.Item)) ||
5588
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.
Items
[cvg.
Items
.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1989
items = group.
Items
;
System\Windows\Data\BindingListCollectionView.cs (9)
351
get { return (_isGrouping) ? _group.
Items
: null; }
528
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
533
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
802
index = _group.
Items
.Count - 1;
808
index = _group.
Items
.Count - 2;
2283
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2287
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
2335
index = _group.
Items
.Count;
2341
index = _group.
Items
.Count - 1;
System\Windows\Data\ListCollectionView.cs (9)
254
get { return (IsGrouping) ? _group.
Items
: null; }
641
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
646
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
908
index = _group.
Items
.Count - 1;
914
index = _group.
Items
.Count - 2;
2975
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2979
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
3028
index = _group.
Items
.Count;
3034
index = _group.
Items
.Count - 1;