54 references to SetCurrent
PresentationFramework (54)
MS\Internal\Controls\InnerItemCollectionView.cs (7)
765
SetCurrent
(null, -1);
769
SetCurrent
(null, ViewCount);
773
SetCurrent
(_viewList[position], position);
786
SetCurrent
(null, -1);
795
SetCurrent
(_viewList[newCurrentPosition], newCurrentPosition);
799
SetCurrent
(null, ViewCount);
814
SetCurrent
(_viewList[newCurrentPosition], newCurrentPosition);
MS\Internal\Data\CompositeCollectionView.cs (13)
262
SetCurrent
(lastItem, lastPosition);
330
SetCurrent
(item, position);
918
SetCurrent
(item, index);
1104
SetCurrent
(null, Count); // Count has been cached from GetItem()
1108
SetCurrent
(newCurrentItem, proposed);
1217
SetCurrent
(GetNextItemFromXY(_currentPositionX, _currentPositionY), newCurrentPosition);
1233
SetCurrent
(CurrentItem, CurrentPosition - 1);
1349
SetCurrent
(newCurrentItem, Count - 1);
1355
SetCurrent
(newCurrentItem, CurrentPosition);
1410
SetCurrent
(null, -1);
1416
SetCurrent
(null, -1);
1418
SetCurrent
(null, Count);
1420
SetCurrent
(CurrentItem, CountDeep(x) + y);
System\Windows\Data\BindingListCollectionView.cs (16)
1363
SetCurrent
(null, -1);
1367
SetCurrent
(null, InternalCount);
1385
SetCurrent
(newItem, newPosition);
1389
SetCurrent
(null, -1);
1394
SetCurrent
(oldCurrentItem, newPosition);
1864
SetCurrent
(proposedCurrentItem, proposed);
2061
SetCurrent
(null, -1);
2070
SetCurrent
(GetItemAt(newPosition), newPosition);
2074
SetCurrent
(null, InternalCount);
2088
SetCurrent
(CurrentItem, CurrentPosition - 1);
2100
SetCurrent
(GetItemAt(newIndex), newIndex);
2106
SetCurrent
(CurrentItem, CurrentPosition - 1);
2112
SetCurrent
(CurrentItem, CurrentPosition + 1);
2125
SetCurrent
(GetItemAt(index), index);
2140
SetCurrent
(null, newPosition);
2142
SetCurrent
(InternalItemAt(newPosition), newPosition);
System\Windows\Data\CollectionView.cs (3)
1776
SetCurrent
(null, -1);
1781
SetCurrent
(null, Count);
1786
SetCurrent
(EnumerableWrapper[position], position);
System\Windows\Data\ListCollectionView.cs (15)
121
SetCurrent
(null, -1);
125
SetCurrent
(null, InternalCount);
142
SetCurrent
(newItem, newPosition);
146
SetCurrent
(null, -1);
151
SetCurrent
(oldCurrentItem, newPosition);
212
SetCurrent
(proposedCurrentItem, position);
2645
SetCurrent
(null, newPosition);
2647
SetCurrent
(InternalItemAt(newPosition), newPosition);
2821
SetCurrent
(null, -1);
2830
SetCurrent
(GetItemAt(newPosition), newPosition);
2834
SetCurrent
(null, InternalCount);
2845
SetCurrent
(CurrentItem, CurrentPosition - 1);
2860
SetCurrent
(GetItemAt(newIndex), newIndex);
2866
SetCurrent
(CurrentItem, CurrentPosition - 1);
2872
SetCurrent
(CurrentItem, CurrentPosition + 1);