8 writes to _firstItemInExtendedViewportChildIndex
PresentationFramework (8)
System\Windows\Controls\VirtualizingStackPanel.cs (8)
2372
_firstItemInExtendedViewportChildIndex
= 0;
2426
_firstItemInExtendedViewportChildIndex
= childIndex;
2447
ref
_firstItemInExtendedViewportChildIndex
,
2547
ref
_firstItemInExtendedViewportChildIndex
,
2690
IndexToGeneratorPositionForStart(_firstItemInExtendedViewportIndex, out
_firstItemInExtendedViewportChildIndex
);
2691
_firstItemInExtendedViewportChildIndex
= Math.Max(_firstItemInExtendedViewportChildIndex, 0);
9530
_firstItemInExtendedViewportChildIndex
-= count;
9535
_firstItemInExtendedViewportChildIndex
= startIndex;
17 references to _firstItemInExtendedViewportChildIndex
PresentationFramework (17)
System\Windows\Controls\VirtualizingStackPanel.cs (17)
1182
int i = (itemsHost is VirtualizingStackPanel ? ((VirtualizingStackPanel)itemsHost).
_firstItemInExtendedViewportChildIndex
: 0);
2691
_firstItemInExtendedViewportChildIndex = Math.Max(
_firstItemInExtendedViewportChildIndex
, 0);
2821
int startIndex =
_firstItemInExtendedViewportChildIndex
+_actualItemsInExtendedViewportCount;
2967
_firstItemInExtendedViewportChildIndex
,
2983
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount,
3407
for (int i =
_firstItemInExtendedViewportChildIndex
; i < children.Count; ++i)
3412
if (i >=
_firstItemInExtendedViewportChildIndex
&& i <
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount)
3420
if (i ==
_firstItemInExtendedViewportChildIndex
)
3445
for (int j =
_firstItemInExtendedViewportChildIndex
- 1; j >= 0; j--)
8114
bool isBeforeFirstItem = childIndex <
_firstItemInExtendedViewportChildIndex
;
8115
bool isAfterFirstItem = childIndex >
_firstItemInExtendedViewportChildIndex
;
8116
bool isAfterLastItem = childIndex >
_firstItemInExtendedViewportChildIndex
+ _actualItemsInExtendedViewportCount;
8582
previousChildItemIndex = _firstItemInExtendedViewportIndex + (index -
_firstItemInExtendedViewportChildIndex
);
9524
if (startIndex <
_firstItemInExtendedViewportChildIndex
)
9527
if (endIndex <
_firstItemInExtendedViewportChildIndex
)
13006
s._firstItemInExtendedViewportChildIndex =
_firstItemInExtendedViewportChildIndex
;