52 references to Items
PresentationFramework (52)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (17)
138
for (int k=0, n=
Items
.Count; k<n; ++k)
140
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
144
return
Items
[k];
262
for (int k=0, n=
Items
.Count; k<n; ++k)
264
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
280
if (System.Windows.Controls.ItemsControl.EqualsEx(item,
Items
[k]))
309
for (int k=0, n=group.
Items
.Count; k < n; ++k)
312
if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.
Items
[k])) ||
319
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
332
for (int k=0, n=
Items
.Count; k<n; ++k)
334
CollectionViewGroupInternal subgroup =
Items
[k] as CollectionViewGroupInternal;
352
return
Items
[k];
496
CollectionViewGroupInternal subgroup =
Items
[i] as CollectionViewGroupInternal;
814
if (_index >= _group.
Items
.Count)
817
CollectionViewGroupInternal subgroup = _group.
Items
[_index] as CollectionViewGroupInternal;
821
_current = _group.
Items
[_index];
842
if (_index < 0 || _index >= _group.
Items
.Count)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (9)
536
group.LastIndex = (group.
Items
[index] == subgroup ? index : 0);
544
for (int n = group.
Items
.Count; index < n; ++index)
546
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
626
for (int index=0, n=group.
Items
.Count; index < n; ++index)
628
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
739
for (int index=0, n=group.
Items
.Count; index < n; ++index)
741
subgroup = group.
Items
[index] as CollectionViewGroupInternal;
785
for (int k=group.
Items
.Count-1; k >= 0; --k)
787
CollectionViewGroupInternal subgroup = group.
Items
[k] as CollectionViewGroupInternal;
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
56
positionInSet = parent.
Items
.IndexOf(group) + 1;
85
sizeOfSet = parent.
Items
.Count;
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
361
newCollection = currentGroup.
Items
;
src\Framework\System\Windows\Controls\DataGrid.cs (4)
5637
if (cvg != null && cvg.
Items
.Count > 0)
5640
if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.
Items
[0], currentInfo.Item)) ||
5641
(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.
Items
[cvg.
Items
.Count - 1], currentInfo.Item)))
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
2007
items = group.
Items
;
src\Framework\System\Windows\Data\BindingListCollectionView.cs (9)
364
get { return (_isGrouping) ? _group.
Items
: null; }
541
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
546
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
824
index = _group.
Items
.Count - 1;
830
index = _group.
Items
.Count - 2;
2311
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
2315
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
2363
index = _group.
Items
.Count;
2369
index = _group.
Items
.Count - 1;
src\Framework\System\Windows\Data\ListCollectionView.cs (9)
269
get { return (IsGrouping) ? _group.
Items
: null; }
656
int index = (oldIndex == 0) ? 0 : _group.
Items
.Count - 1;
661
int index = (newIndex == 0) ? 0 : _group.
Items
.Count;
929
index = _group.
Items
.Count - 1;
935
index = _group.
Items
.Count - 2;
3013
_group.InsertSpecialItem(_group.
Items
.Count, _newItem, true /*loading*/);
3017
_group.InsertSpecialItem(_group.
Items
.Count, NewItemPlaceholder, true /*loading*/);
3066
index = _group.
Items
.Count;
3072
index = _group.
Items
.Count - 1;