15 writes to _currentPositionX
PresentationFramework (15)
MS\Internal\Data\CompositeCollectionView.cs (15)
52SetCurrent(GetItem(currentPosition, out _currentPositionX, out _currentPositionY), currentPosition, count); 266_currentPositionX = newPositionX; 334_currentPositionX = newPositionX; 470++_currentPositionX; 483--_currentPositionX; 603++_currentPositionX; 608--_currentPositionX; 925_currentPositionX = positionX; 1036_currentPositionX = positionX; 1041_currentPositionX = _collection.Count; 1105_currentPositionX = newPositionX; 1212++_currentPositionX; 1242--_currentPositionX; 1354newCurrentItem = GetLastItem(out _currentPositionX, out _currentPositionY); 1414_currentPositionX = -1;
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);