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)
759if (_scrollData._firstContainerInViewport != null) 779if (_scrollData._firstContainerInViewport == null) 794if (_scrollData._firstContainerInViewport != null) 812_scrollData._firstContainerInViewport, 830Debug.Assert(_scrollData._firstContainerInViewport != null, "Must have an anchor element"); 834if (itemsControl == null || !VisualTreeHelper.IsAncestorOf(this, _scrollData._firstContainerInViewport)) 846_scrollData._firstContainerInViewport); 875FrameworkElement prevFirstContainerInViewport = _scrollData._firstContainerInViewport; 877double prevFirstContainerOffset = FindScrollOffset(_scrollData._firstContainerInViewport); 1089if (_scrollData._firstContainerInViewport != null) 1091DependencyObject element = _scrollData._firstContainerInViewport; 2607if (IsScrolling && _scrollData._firstContainerInViewport != null && !areContainersUniformlySized) 4362WasLastMeasurePassAnchored = (_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)); 11625get { return _scrollData?._firstContainerInViewport ?? null; }