5 writes to _viewport
PresentationFramework (5)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
10418_scrollData._viewport = viewportSize; 10921_scrollData._viewport = viewportSize; 11765_viewport = _extent = _maxDesiredSize = new Size(); 11835_viewport = value; 12996s._scrollData._viewport = _scrollData._viewport;
38 references to _viewport
PresentationFramework (38)
System\Windows\Controls\VirtualizingStackPanel.cs (38)
570_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData._extent.Width, _scrollData._viewport.Width); 698_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData._extent.Height, _scrollData._viewport.Height); 933maxOffset = _scrollData._extent.Width - _scrollData._viewport.Width; 938maxOffset = _scrollData._extent.Height - _scrollData._viewport.Height; 982maxOffset = _scrollData._extent.Width - _scrollData._viewport.Width; 1012maxOffset = _scrollData._extent.Height - _scrollData._viewport.Height; 1536newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 1537newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 1890return _scrollData._viewport.Width; 1902return _scrollData._viewport.Height; 4334viewportSize = _scrollData._viewport; 9869bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10016!DoubleUtil.AreClose(_scrollData._viewport.Width, viewportSize.Width)) 10022"vpSz:", _scrollData._viewport.Width, viewportSize.Width, 10032viewportSize.Width = _scrollData._viewport.Width; 10233!DoubleUtil.AreClose(_scrollData._viewport.Height, viewportSize.Height)) 10239"vpSz:", _scrollData._viewport.Height, viewportSize.Height, 10249viewportSize.Height = _scrollData._viewport.Height; 10401viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10409"vp:", _scrollData._viewport, viewportSize); 10416Size oldViewportSize = _scrollData._viewport; 10597bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10689!DoubleUtil.AreClose(_scrollData._viewport.Width, viewportSize.Width)) 10697viewportSize.Width = _scrollData._viewport.Width; 10820!DoubleUtil.AreClose(_scrollData._viewport.Height, viewportSize.Height)) 10828viewportSize.Height = _scrollData._viewport.Height; 10913viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10919Size oldViewportSize = _scrollData._viewport; 11216viewportSize = (int)_scrollData._viewport.Width; 11221viewportSize = (int)_scrollData._viewport.Height; 11775_viewport.Width == 0.0 && 11776_viewport.Height == 0.0 && 11831return _viewport; 11872if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width - _viewport.Width)) 11876else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset), _viewport.Width)) 11888if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height - _viewport.Height)) 11892else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset), _viewport.Height)) 12996s._scrollData._viewport = _scrollData._viewport;