8 writes to _firstItemInExtendedViewportChildIndex
PresentationFramework (8)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (8)
2322
_firstItemInExtendedViewportChildIndex
= 0;
2376
_firstItemInExtendedViewportChildIndex
= childIndex;
2397
ref
_firstItemInExtendedViewportChildIndex
,
2496
ref
_firstItemInExtendedViewportChildIndex
,
2638
IndexToGeneratorPositionForStart(_firstItemInExtendedViewportIndex, out
_firstItemInExtendedViewportChildIndex
);
2639
_firstItemInExtendedViewportChildIndex
= Math.Max(_firstItemInExtendedViewportChildIndex, 0);
9376
_firstItemInExtendedViewportChildIndex
-= count;
9381
_firstItemInExtendedViewportChildIndex
= startIndex;
17 references to _firstItemInExtendedViewportChildIndex
PresentationFramework (17)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (17)
1150
int i = (itemsHost is VirtualizingStackPanel ? ((VirtualizingStackPanel)itemsHost).
_firstItemInExtendedViewportChildIndex
: 0);
2639
_firstItemInExtendedViewportChildIndex = Math.Max(
_firstItemInExtendedViewportChildIndex
, 0);
2769
int startIndex =
_firstItemInExtendedViewportChildIndex
+_actualItemsInExtendedViewportCount;
2915
_firstItemInExtendedViewportChildIndex
,
2931
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount,
3346
for (int i =
_firstItemInExtendedViewportChildIndex
; i < children.Count; ++i)
3351
if (i >=
_firstItemInExtendedViewportChildIndex
&& i <
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount)
3359
if (i ==
_firstItemInExtendedViewportChildIndex
)
3384
for (int j =
_firstItemInExtendedViewportChildIndex
- 1; j >= 0; j--)
7959
bool isBeforeFirstItem = childIndex <
_firstItemInExtendedViewportChildIndex
;
7960
bool isAfterFirstItem = childIndex >
_firstItemInExtendedViewportChildIndex
;
7961
bool isAfterLastItem = childIndex >
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount;
8424
previousChildItemIndex = _firstItemInExtendedViewportIndex + (index -
_firstItemInExtendedViewportChildIndex
);
9370
if (startIndex <
_firstItemInExtendedViewportChildIndex
)
9373
if (endIndex <
_firstItemInExtendedViewportChildIndex
)
12840
s._firstItemInExtendedViewportChildIndex =
_firstItemInExtendedViewportChildIndex
;