6 writes to _currentPosition
PresentationFramework (6)
System\Windows\Data\CollectionView.cs (6)
139
_currentPosition
= currentPosition;
989
_currentPosition
= newPosition;
1013
_currentPosition
= -1;
2020
_currentPosition
= -1;
2023
++
_currentPosition
;
2037
--
_currentPosition
;
15 references to _currentPosition
PresentationFramework (15)
System\Windows\Data\CollectionView.cs (15)
140
SetFlag(CollectionViewFlags.IsCurrentBeforeFirst,
_currentPosition
< 0);
141
SetFlag(CollectionViewFlags.IsCurrentAfterLast,
_currentPosition
< 0);
142
SetFlag(CollectionViewFlags.CachedIsEmpty,
_currentPosition
< 0);
379
return
_currentPosition
;
850
int oldCurrentPosition =
_currentPosition
;
1083
int oldCurrentPosition =
_currentPosition
;
1146
if (
_currentPosition
!= oldCurrentPosition)
1798
int newPosition = (
_currentPosition
< lastPosition) ?
_currentPosition
: lastPosition;
2021
else if (index <=
_currentPosition
)
2025
if (
_currentPosition
< Count)
2027
_currentItem = EnumerableWrapper[
_currentPosition
];
2036
if (index <
_currentPosition
)
2040
else if (index ==
_currentPosition
)
2066
if (index ==
_currentPosition
)