8 writes to _offset
PresentationFramework (8)
System\Windows\Controls\VirtualizingStackPanel.cs (8)
1551_scrollData._offset = newOffset; 4676_scrollData._offset = _scrollData._computedOffset; 10437_scrollData._offset = viewportOffset; 10940_scrollData._offset = viewportOffset; 11764_offset = new Vector(); 11823_offset = value; 12895WriteVector(writer, ref _scrollData._offset); 12993s._scrollData._offset = _scrollData._offset;
94 references to _offset
PresentationFramework (94)
System\Windows\Controls\VirtualizingStackPanel.cs (94)
484if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 486Vector oldViewportOffset = _scrollData._offset; 489_scrollData._offset.X = scrollX; 492OnViewportOffsetChanged(oldViewportOffset, _scrollData._offset); 524_scrollData._offset.X = Math.Floor(_scrollData._offset.X); 533_scrollData._offset.X = UIElement.RoundLayoutValue(_scrollData._offset.X, dpi.DpiScaleX); 570_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData._extent.Width, _scrollData._viewport.Width); 571_scrollData._computedOffset.X = _scrollData._offset.X; 579_scrollData._offset, _scrollData._extent, _scrollData._computedOffset); 612if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 614Vector oldViewportOffset = _scrollData._offset; 617_scrollData._offset.Y = scrollY; 620OnViewportOffsetChanged(oldViewportOffset, _scrollData._offset); 652_scrollData._offset.Y = Math.Floor(_scrollData._offset.Y); 661_scrollData._offset.Y = UIElement.RoundLayoutValue(_scrollData._offset.Y, dpi.DpiScaleY); 698_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData._extent.Height, _scrollData._viewport.Height); 699_scrollData._computedOffset.Y = _scrollData._offset.Y; 713_scrollData._offset, _scrollData._extent, _scrollData._computedOffset); 751double expectedDistanceBetweenViewports = (isHorizontal ? _scrollData._offset.X - _scrollData._computedOffset.X : _scrollData._offset.Y - _scrollData._computedOffset.Y); 771_scrollData._offset.X += expectedDistanceBetweenViewports; 775_scrollData._offset.Y += expectedDistanceBetweenViewports; 951_scrollData._offset.X = _scrollData._computedOffset.X; 956_scrollData._offset.Y = _scrollData._computedOffset.Y; 968_scrollData._offset); 992_scrollData._offset.X = actualOffset; 997_scrollData._offset.X = expectedOffset; 1003_scrollData._offset.X = expectedOffset; 1022_scrollData._offset.Y = actualOffset; 1027_scrollData._offset.Y = expectedOffset; 1033_scrollData._offset.Y = expectedOffset; 1040remeasure, expectedOffset, actualOffset, _scrollData._offset, _scrollData._computedOffset); 1539if (!LayoutDoubleUtil.AreClose(newOffset.X, _scrollData._offset.X) || 1540!LayoutDoubleUtil.AreClose(newOffset.Y, _scrollData._offset.Y)) 1550Vector oldOffset = _scrollData._offset; 1556_scrollData._offset, 2650_scrollData._offset.X += delta; 2654_scrollData._offset.Y += delta; 2665"newVpOff:", _scrollData._offset); 4331offsetX = _scrollData._offset.X; 4332offsetY = _scrollData._offset.Y; 9614Vector offsetForScrollViewerRemeasure = _scrollData._offset; 9749"o:", _scrollData._offset, 9765isHorizontal ? (!DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X) || 9767: (!DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y) || 9770isHorizontal ? (!DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y) || 9772: (!DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X) || 10023"newOff:", _scrollData._offset); 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), 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), 10240"newOff:", _scrollData._offset); 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), 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), 10406"off:", _scrollData._offset, viewportOffset, 10627viewportOffset = _scrollData._offset; 10643viewportOffset = _scrollData._offset; 10656bool wasViewportOffsetCoerced = !DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X); 10692viewportOffset.X = _scrollData._offset.X; 10725viewportOffset.X = _scrollData._offset.X; 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); 10787bool wasViewportOffsetCoerced = !DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y); 10823viewportOffset.Y = _scrollData._offset.Y; 10856viewportOffset.Y = _scrollData._offset.Y; 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); 11773_offset.X == 0.0 && 11774_offset.Y == 0.0 && 11819return _offset; 12993s._scrollData._offset = _scrollData._offset;