8 writes to _firstItemInExtendedViewportChildIndex
PresentationFramework (8)
System\Windows\Controls\VirtualizingStackPanel.cs (8)
2367
_firstItemInExtendedViewportChildIndex
= 0;
2421
_firstItemInExtendedViewportChildIndex
= childIndex;
2442
ref
_firstItemInExtendedViewportChildIndex
,
2542
ref
_firstItemInExtendedViewportChildIndex
,
2685
IndexToGeneratorPositionForStart(_firstItemInExtendedViewportIndex, out
_firstItemInExtendedViewportChildIndex
);
2686
_firstItemInExtendedViewportChildIndex
= Math.Max(_firstItemInExtendedViewportChildIndex, 0);
9525
_firstItemInExtendedViewportChildIndex
-= count;
9530
_firstItemInExtendedViewportChildIndex
= startIndex;
17 references to _firstItemInExtendedViewportChildIndex
PresentationFramework (17)
System\Windows\Controls\VirtualizingStackPanel.cs (17)
1177
int i = (itemsHost is VirtualizingStackPanel ? ((VirtualizingStackPanel)itemsHost).
_firstItemInExtendedViewportChildIndex
: 0);
2686
_firstItemInExtendedViewportChildIndex = Math.Max(
_firstItemInExtendedViewportChildIndex
, 0);
2816
int startIndex =
_firstItemInExtendedViewportChildIndex
+_actualItemsInExtendedViewportCount;
2962
_firstItemInExtendedViewportChildIndex
,
2978
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount,
3402
for (int i =
_firstItemInExtendedViewportChildIndex
; i < children.Count; ++i)
3407
if (i >=
_firstItemInExtendedViewportChildIndex
&& i <
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount)
3415
if (i ==
_firstItemInExtendedViewportChildIndex
)
3440
for (int j =
_firstItemInExtendedViewportChildIndex
- 1; j >= 0; j--)
8109
bool isBeforeFirstItem = childIndex <
_firstItemInExtendedViewportChildIndex
;
8110
bool isAfterFirstItem = childIndex >
_firstItemInExtendedViewportChildIndex
;
8111
bool isAfterLastItem = childIndex >
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount;
8577
previousChildItemIndex = _firstItemInExtendedViewportIndex + (index -
_firstItemInExtendedViewportChildIndex
);
9519
if (startIndex <
_firstItemInExtendedViewportChildIndex
)
9522
if (endIndex <
_firstItemInExtendedViewportChildIndex
)
13001
s._firstItemInExtendedViewportChildIndex =
_firstItemInExtendedViewportChildIndex
;