15 writes to _currentPositionX
PresentationFramework (15)
33 references to _currentPositionX
PresentationFramework (33)
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (33)
138return (IsEmpty || (_currentPositionX >= _collection.Count));
151return (IsEmpty || (_currentPositionX < 0));
481if (startingIndex <= _currentPositionX)
486SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
492if (startingIndex == _currentPositionX)
499SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
542if (startingIndex < _currentPositionX)
544SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
546else if (startingIndex == _currentPositionX)
614if (oldStartingIndex == _currentPositionX)
618else if (newStartingIndex <= _currentPositionX && oldStartingIndex > _currentPositionX)
621SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
623else if (oldStartingIndex < _currentPositionX && newStartingIndex >= _currentPositionX)
626SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
656if (_currentPositionX >= 0) // if current item was in view
874return (0 <= _currentPositionX && _currentPositionX < _collection.Count);
1158if (_currentPositionX > x)
1162else if (_currentPositionX < x)
1188if (_currentPositionX > x)
1192else if (_currentPositionX < x)
1232else if (positionX == _currentPositionX) // else if it was in the current sub-collection
1241SetCurrent(GetNextItemFromXY(_currentPositionX, _currentPositionY), newCurrentPosition);
1262else if (positionX == _currentPositionX) // else if it was in the current sub-collection
1306if (IsCurrentInView && refreshedObject == _collection[_currentPositionX])
1321SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
1334for (int i = 0; i < _currentPositionX; ++i)
1338SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
1369object newCurrentItem = GetNextItemFromXY(_currentPositionX, _currentPositionY);
1371if (_currentPositionX >= _collection.Count)
1379SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);