6 writes to _extent
PresentationFramework (6)
System\Windows\Controls\VirtualizingStackPanel.cs (6)
10419_scrollData._extent = extentSize; 10922_scrollData._extent = extentSize; 11765_viewport = _extent = _maxDesiredSize = new Size(); 11847_extent = value; 12896WriteSize(writer, ref _scrollData._extent); 12994s._scrollData._extent = _scrollData._extent;
80 references to _extent
PresentationFramework (80)
System\Windows\Controls\VirtualizingStackPanel.cs (80)
570_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData._extent.Width, _scrollData._viewport.Width); 579_scrollData._offset, _scrollData._extent, _scrollData._computedOffset); 698_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData._extent.Height, _scrollData._viewport.Height); 713_scrollData._offset, _scrollData._extent, _scrollData._computedOffset); 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); 1866return _scrollData._extent.Width; 1878return _scrollData._extent.Height; 3561"ext:", IsScrolling ? _scrollData._extent : Size.Empty, 3893_scrollData._extent.Width = distance; 3897_scrollData._extent.Height = distance; 3902ScrollTracer.Trace(this, ScrollTraceOp.UpdateExtent, "ext:", _scrollData._extent); 4333extent = _scrollData._extent; 4802if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width, _scrollData._extent.Width)) 4809extendedViewport.Width = Math.Max(_scrollData._extent.Width - extendedViewport.X, 0.0); 4842if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width / approxSizeOfLogicalUnit, _scrollData._extent.Width)) 4849extendedViewport.Width = Math.Max(_scrollData._extent.Width - extendedViewport.X, 0.0) * approxSizeOfLogicalUnit; 4918if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height, _scrollData._extent.Height)) 4925extendedViewport.Height = Math.Max(_scrollData._extent.Height - extendedViewport.Y, 0.0); 4958if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height / approxSizeOfLogicalUnit, _scrollData._extent.Height)) 4965extendedViewport.Height = Math.Max(_scrollData._extent.Height - extendedViewport.Y, 0.0) * approxSizeOfLogicalUnit; 9658stackPixelSize.Height = _scrollData._extent.Height; 9685stackPixelSize.Width = _scrollData._extent.Width; 9870bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData._extent); 9876extentWidthChanged = !DoubleUtil.AreClose(extentSize.Width, _scrollData._extent.Width); 9877extentHeightChanged = !DoubleUtil.AreClose(extentSize.Height, _scrollData._extent.Height); 10054"ext:", _scrollData._extent.Width, extentSize.Width, 10071if (!DoubleUtil.AreClose(_scrollData._extent.Width, 0) && 10076if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10079viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10085if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width)) 10088viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width); 10096"expRat:", _scrollData._offset.X, _scrollData._extent.Width, (_scrollData._offset.X/_scrollData._extent.Width), 10122"ext:", _scrollData._extent.Height, extentSize.Height, 10138if (!DoubleUtil.AreClose(_scrollData._extent.Height, 0) && 10141if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10144viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10151"expRat:", _scrollData._offset.Y, _scrollData._extent.Height, (_scrollData._offset.Y/_scrollData._extent.Height), 10271"ext:", _scrollData._extent.Height, extentSize.Height, 10288if (!DoubleUtil.AreClose(_scrollData._extent.Height, 0) && 10293if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10296viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10302if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height)) 10305viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height); 10312"expRat:", _scrollData._offset.Y, _scrollData._extent.Height, (_scrollData._offset.Y/_scrollData._extent.Height), 10338"ext:", _scrollData._extent.Width, extentSize.Width, 10354if (!DoubleUtil.AreClose(_scrollData._extent.Width, 0) && 10357if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10360viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10367"expRat:", _scrollData._offset.X, _scrollData._extent.Width, (_scrollData._offset.X/_scrollData._extent.Width), 10407"ext:", _scrollData._extent, extentSize, 10510stackPixelSize.Height = _scrollData._extent.Height; 10537stackPixelSize.Width = _scrollData._extent.Width; 10598bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData._extent); 10702if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData._extent.Width, extentSize.Width)) 10742!DoubleUtil.AreClose(_scrollData._extent.Width, 0) && 10747if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10750viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10756if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width)) 10759viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width); 10833if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData._extent.Height, extentSize.Height)) 10873!DoubleUtil.AreClose(_scrollData._extent.Height, 0) && 10878if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10881viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10887if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height)) 10890viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height); 11777_extent.Width == 0.0 && 11778_extent.Height == 0.0 && 11843return _extent; 11872if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Width - _viewport.Width)) 11888if (DoubleUtil.GreaterThanOrClose(newOffset, _extent.Height - _viewport.Height)) 12994s._scrollData._extent = _scrollData._extent;