2 writes to _firstContainerInViewport
PresentationFramework (2)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
781
_scrollData.
_firstContainerInViewport
= ComputeFirstContainerInViewport(
1105
_scrollData.
_firstContainerInViewport
= null;
16 references to _firstContainerInViewport
PresentationFramework (16)
System\Windows\Controls\VirtualizingStackPanel.cs (16)
759
if (_scrollData.
_firstContainerInViewport
!= null)
779
if (_scrollData.
_firstContainerInViewport
== null)
794
if (_scrollData.
_firstContainerInViewport
!= null)
812
_scrollData.
_firstContainerInViewport
,
830
Debug.Assert(_scrollData.
_firstContainerInViewport
!= null, "Must have an anchor element");
834
if (itemsControl == null || !VisualTreeHelper.IsAncestorOf(this, _scrollData.
_firstContainerInViewport
))
846
_scrollData.
_firstContainerInViewport
);
875
FrameworkElement prevFirstContainerInViewport = _scrollData.
_firstContainerInViewport
;
877
double prevFirstContainerOffset = FindScrollOffset(_scrollData.
_firstContainerInViewport
);
1089
if (_scrollData.
_firstContainerInViewport
!= null)
1091
DependencyObject element = _scrollData.
_firstContainerInViewport
;
2607
if (IsScrolling && _scrollData.
_firstContainerInViewport
!= null && !areContainersUniformlySized)
4362
WasLastMeasurePassAnchored = (_scrollData.
_firstContainerInViewport
!= null) || (_scrollData._bringIntoViewLeafContainer != null);
10741
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.X, _scrollData._computedOffset.X));
10872
(_scrollData.
_firstContainerInViewport
== null && computedViewportOffsetChanged && !LayoutDoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._computedOffset.Y));
11625
get { return _scrollData?.
_firstContainerInViewport
?? null; }