54 references to SetCurrent
PresentationFramework (54)
MS\Internal\Controls\InnerItemCollectionView.cs (7)
766
SetCurrent
(null, -1);
770
SetCurrent
(null, ViewCount);
774
SetCurrent
(_viewList[position], position);
787
SetCurrent
(null, -1);
796
SetCurrent
(_viewList[newCurrentPosition], newCurrentPosition);
800
SetCurrent
(null, ViewCount);
815
SetCurrent
(_viewList[newCurrentPosition], newCurrentPosition);
MS\Internal\Data\CompositeCollectionView.cs (13)
268
SetCurrent
(lastItem, lastPosition);
336
SetCurrent
(item, position);
924
SetCurrent
(item, index);
1110
SetCurrent
(null, Count); // Count has been cached from GetItem()
1114
SetCurrent
(newCurrentItem, proposed);
1223
SetCurrent
(GetNextItemFromXY(_currentPositionX, _currentPositionY), newCurrentPosition);
1239
SetCurrent
(CurrentItem, CurrentPosition - 1);
1355
SetCurrent
(newCurrentItem, Count - 1);
1361
SetCurrent
(newCurrentItem, CurrentPosition);
1416
SetCurrent
(null, -1);
1422
SetCurrent
(null, -1);
1424
SetCurrent
(null, Count);
1426
SetCurrent
(CurrentItem, CountDeep(x) + y);
System\Windows\Data\BindingListCollectionView.cs (16)
1368
SetCurrent
(null, -1);
1372
SetCurrent
(null, InternalCount);
1390
SetCurrent
(newItem, newPosition);
1394
SetCurrent
(null, -1);
1399
SetCurrent
(oldCurrentItem, newPosition);
1869
SetCurrent
(proposedCurrentItem, proposed);
2066
SetCurrent
(null, -1);
2075
SetCurrent
(GetItemAt(newPosition), newPosition);
2079
SetCurrent
(null, InternalCount);
2093
SetCurrent
(CurrentItem, CurrentPosition - 1);
2105
SetCurrent
(GetItemAt(newIndex), newIndex);
2111
SetCurrent
(CurrentItem, CurrentPosition - 1);
2117
SetCurrent
(CurrentItem, CurrentPosition + 1);
2130
SetCurrent
(GetItemAt(index), index);
2145
SetCurrent
(null, newPosition);
2147
SetCurrent
(InternalItemAt(newPosition), newPosition);
System\Windows\Data\CollectionView.cs (3)
1780
SetCurrent
(null, -1);
1785
SetCurrent
(null, Count);
1790
SetCurrent
(EnumerableWrapper[position], position);
System\Windows\Data\ListCollectionView.cs (15)
127
SetCurrent
(null, -1);
131
SetCurrent
(null, InternalCount);
148
SetCurrent
(newItem, newPosition);
152
SetCurrent
(null, -1);
157
SetCurrent
(oldCurrentItem, newPosition);
218
SetCurrent
(proposedCurrentItem, position);
2651
SetCurrent
(null, newPosition);
2653
SetCurrent
(InternalItemAt(newPosition), newPosition);
2827
SetCurrent
(null, -1);
2836
SetCurrent
(GetItemAt(newPosition), newPosition);
2840
SetCurrent
(null, InternalCount);
2851
SetCurrent
(CurrentItem, CurrentPosition - 1);
2866
SetCurrent
(GetItemAt(newIndex), newIndex);
2872
SetCurrent
(CurrentItem, CurrentPosition - 1);
2878
SetCurrent
(CurrentItem, CurrentPosition + 1);