5 writes to _viewport
PresentationFramework (5)
System\Windows\Controls\VirtualizingStackPanel.cs (5)
10420_scrollData._viewport = viewportSize; 10923_scrollData._viewport = viewportSize; 11767_viewport = _extent = _maxDesiredSize = new Size(); 11837_viewport = value; 12992_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; 1532newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 1533newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 1886return _scrollData._viewport.Width; 1898return _scrollData._viewport.Height; 4332viewportSize = _scrollData._viewport; 9871bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10018!DoubleUtil.AreClose(_scrollData._viewport.Width, viewportSize.Width)) 10024"vpSz:", _scrollData._viewport.Width, viewportSize.Width, 10034viewportSize.Width = _scrollData._viewport.Width; 10235!DoubleUtil.AreClose(_scrollData._viewport.Height, viewportSize.Height)) 10241"vpSz:", _scrollData._viewport.Height, viewportSize.Height, 10251viewportSize.Height = _scrollData._viewport.Height; 10403viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10411"vp:", _scrollData._viewport, viewportSize); 10418Size oldViewportSize = _scrollData._viewport; 10599bool viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10691!DoubleUtil.AreClose(_scrollData._viewport.Width, viewportSize.Width)) 10699viewportSize.Width = _scrollData._viewport.Width; 10822!DoubleUtil.AreClose(_scrollData._viewport.Height, viewportSize.Height)) 10830viewportSize.Height = _scrollData._viewport.Height; 10915viewportSizeChanged = !DoubleUtil.AreClose(viewportSize, _scrollData._viewport); 10921Size oldViewportSize = _scrollData._viewport; 11218viewportSize = (int)_scrollData._viewport.Width; 11223viewportSize = (int)_scrollData._viewport.Height; 11777_viewport.Width == 0.0 && 11778_viewport.Height == 0.0 && 11833return _viewport; 11874if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width - _viewport.Width)) 11878else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset), _viewport.Width)) 11890if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height - _viewport.Height)) 11894else if (DoubleUtil.GreaterThan(Math.Abs(newOffset - oldOffset), _viewport.Height)) 12992_viewport = _scrollData._viewport