15 writes to _currentPositionX
PresentationFramework (15)
33 references to _currentPositionX
PresentationFramework (33)
MS\Internal\Data\CompositeCollectionView.cs (33)
131return (IsEmpty || (_currentPositionX >= _collection.Count));
144return (IsEmpty || (_currentPositionX < 0));
466if (startingIndex <= _currentPositionX)
471SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
477if (startingIndex == _currentPositionX)
484SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
527if (startingIndex < _currentPositionX)
529SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
531else if (startingIndex == _currentPositionX)
597if (oldStartingIndex == _currentPositionX)
601else if (newStartingIndex <= _currentPositionX && oldStartingIndex > _currentPositionX)
604SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
606else if (oldStartingIndex < _currentPositionX && newStartingIndex >= _currentPositionX)
609SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
639if (_currentPositionX >= 0) // if current item was in view
857return (0 <= _currentPositionX && _currentPositionX < _collection.Count);
1140if (_currentPositionX > x)
1144else if (_currentPositionX < x)
1170if (_currentPositionX > x)
1174else if (_currentPositionX < x)
1214else if (positionX == _currentPositionX) // else if it was in the current sub-collection
1223SetCurrent(GetNextItemFromXY(_currentPositionX, _currentPositionY), newCurrentPosition);
1244else if (positionX == _currentPositionX) // else if it was in the current sub-collection
1287if (IsCurrentInView && refreshedObject == _collection[_currentPositionX])
1302SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
1315for (int i = 0; i < _currentPositionX; ++i)
1319SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);
1350object newCurrentItem = GetNextItemFromXY(_currentPositionX, _currentPositionY);
1352if (_currentPositionX >= _collection.Count)
1360SetCurrentPositionFromXY(_currentPositionX, _currentPositionY);