2 writes to _firstContainerInViewport
PresentationFramework (2)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
783
_scrollData.
_firstContainerInViewport
= ComputeFirstContainerInViewport(
1079
_scrollData.
_firstContainerInViewport
= null;
16 references to _firstContainerInViewport
PresentationFramework (16)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (16)
761
if (_scrollData.
_firstContainerInViewport
!= null)
781
if (_scrollData.
_firstContainerInViewport
== null)
796
if (_scrollData.
_firstContainerInViewport
!= null)
814
_scrollData.
_firstContainerInViewport
,
832
Debug.Assert(_scrollData.
_firstContainerInViewport
!= null, "Must have an anchor element");
836
if (itemsControl == null || !VisualTreeHelper.IsAncestorOf(this, _scrollData.
_firstContainerInViewport
))
848
_scrollData.
_firstContainerInViewport
);
877
FrameworkElement prevFirstContainerInViewport = _scrollData.
_firstContainerInViewport
;
879
double prevFirstContainerOffset = FindScrollOffset(_scrollData.
_firstContainerInViewport
);
1063
if (_scrollData.
_firstContainerInViewport
!= null)
1065
DependencyObject element = _scrollData.
_firstContainerInViewport
;
2562
if (IsScrolling && _scrollData.
_firstContainerInViewport
!= null && !areContainersUniformlySized)
4286
WasLastMeasurePassAnchored = (_scrollData.
_firstContainerInViewport
!= null) || (_scrollData._bringIntoViewLeafContainer != null);
10594
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.X, _scrollData._computedOffset.X));
10725
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._computedOffset.Y));
11490
get { return _scrollData?.
_firstContainerInViewport
?? null; }