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