52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
134
for (int k = 0, n =
Items
.Count; k < n; ++k)
136
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
140
return
Items
[k];
252
for (int k = 0, n =
Items
.Count; k < n; ++k)
254
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
270
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
Items
[k]))
299
for (int k = 0, n = group.
Items
.Count; k < n; ++k)
302
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.
Items
[k])) ||
309
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
322
for (int k = 0, n =
Items
.Count; k < n; ++k)
324
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
342
return
Items
[k];
483
CollectionViewGroupInternal subgroup =
Items
[i] as CollectionViewGroupInternal;
784
if (_index >= _group.
Items
.Count)
787
CollectionViewGroupInternal subgroup = _group.
Items
[_index] as CollectionViewGroupInternal;
791
_current = _group.
Items
[_index];
812
if (_index < 0 || _index >= _group.
Items
.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
525
group.LastIndex = (group.
Items
[index] == subgroup ? index : 0);
533
for (int n = group.
Items
.Count; index < n; ++index)
535
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
615
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
617
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
728
for (int index = 0, n = group.
Items
.Count; index < n; ++index)
730
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
774
for (int k = group.
Items
.Count - 1; k >= 0; --k)
776
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)
385
newCollection = currentGroup.
Items
;
System\Windows\Controls\DataGrid.cs (4)
5591
if (cvg != null && cvg.
Items
.Count > 0)
5594
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.
Items
[0], currentInfo.Item)) ||
5595
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.
Items
[cvg.
Items
.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1990
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;
803
index = _group.
Items
.Count - 1;
809
index = _group.
Items
.Count - 2;
2284
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2288
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
2336
index = _group.
Items
.Count;
2342
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;
909
index = _group.
Items
.Count - 1;
915
index = _group.
Items
.Count - 2;
2976
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2980
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
3029
index = _group.
Items
.Count;
3035
index = _group.
Items
.Count - 1;