2 writes to _firstContainerInViewport
PresentationFramework (2)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
786
_scrollData.
_firstContainerInViewport
= ComputeFirstContainerInViewport(
1110
_scrollData.
_firstContainerInViewport
= null;
16 references to _firstContainerInViewport
PresentationFramework (16)
System\Windows\Controls\VirtualizingStackPanel.cs (16)
764
if (_scrollData.
_firstContainerInViewport
!= null)
784
if (_scrollData.
_firstContainerInViewport
== null)
799
if (_scrollData.
_firstContainerInViewport
!= null)
817
_scrollData.
_firstContainerInViewport
,
835
Debug.Assert(_scrollData.
_firstContainerInViewport
!= null, "Must have an anchor element");
839
if (itemsControl == null || !VisualTreeHelper.IsAncestorOf(this, _scrollData.
_firstContainerInViewport
))
851
_scrollData.
_firstContainerInViewport
);
880
FrameworkElement prevFirstContainerInViewport = _scrollData.
_firstContainerInViewport
;
882
double prevFirstContainerOffset = FindScrollOffset(_scrollData.
_firstContainerInViewport
);
1094
if (_scrollData.
_firstContainerInViewport
!= null)
1096
DependencyObject element = _scrollData.
_firstContainerInViewport
;
2614
if (IsScrolling && _scrollData.
_firstContainerInViewport
!= null && !areContainersUniformlySized)
4369
WasLastMeasurePassAnchored = (_scrollData.
_firstContainerInViewport
!= null) || (_scrollData._bringIntoViewLeafContainer != null);
10744
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.X, _scrollData._computedOffset.X));
10875
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._computedOffset.Y));
11628
get { return _scrollData?.
_firstContainerInViewport
?? null; }