8 writes to _offset
PresentationFramework (8)
System\Windows\Controls\VirtualizingStackPanel.cs (8)
1547_scrollData._offset = newOffset; 4674_scrollData._offset = _scrollData._computedOffset; 10439_scrollData._offset = viewportOffset; 10942_scrollData._offset = viewportOffset; 11766_offset = new Vector(); 11825_offset = value; 12890WriteVector(writer, ref _scrollData._offset); 12989_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); 1535if (!LayoutDoubleUtil.AreClose(newOffset.X, _scrollData._offset.X) || 1536!LayoutDoubleUtil.AreClose(newOffset.Y, _scrollData._offset.Y)) 1546Vector oldOffset = _scrollData._offset; 1552_scrollData._offset, 2648_scrollData._offset.X += delta; 2652_scrollData._offset.Y += delta; 2663"newVpOff:", _scrollData._offset); 4329offsetX = _scrollData._offset.X; 4330offsetY = _scrollData._offset.Y; 9616Vector offsetForScrollViewerRemeasure = _scrollData._offset; 9751"o:", _scrollData._offset, 9767isHorizontal ? (!DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X) || 9769: (!DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y) || 9772isHorizontal ? (!DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y) || 9774: (!DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X) || 10025"newOff:", _scrollData._offset); 10078if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10081viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10087if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width)) 10090viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width); 10098"expRat:", _scrollData._offset.X, _scrollData._extent.Width, (_scrollData._offset.X/_scrollData._extent.Width), 10143if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10146viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10153"expRat:", _scrollData._offset.Y, _scrollData._extent.Height, (_scrollData._offset.Y/_scrollData._extent.Height), 10242"newOff:", _scrollData._offset); 10295if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10298viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10304if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height)) 10307viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height); 10314"expRat:", _scrollData._offset.Y, _scrollData._extent.Height, (_scrollData._offset.Y/_scrollData._extent.Height), 10359if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10362viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10369"expRat:", _scrollData._offset.X, _scrollData._extent.Width, (_scrollData._offset.X/_scrollData._extent.Width), 10408"off:", _scrollData._offset, viewportOffset, 10629viewportOffset = _scrollData._offset; 10645viewportOffset = _scrollData._offset; 10658bool wasViewportOffsetCoerced = !DoubleUtil.AreClose(computedViewportOffset.X, _scrollData._offset.X); 10694viewportOffset.X = _scrollData._offset.X; 10727viewportOffset.X = _scrollData._offset.X; 10749if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData._extent.Width)) 10752viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData._extent.Width; 10758if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width)) 10761viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width); 10789bool wasViewportOffsetCoerced = !DoubleUtil.AreClose(computedViewportOffset.Y, _scrollData._offset.Y); 10825viewportOffset.Y = _scrollData._offset.Y; 10858viewportOffset.Y = _scrollData._offset.Y; 10880if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData._extent.Height)) 10883viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData._extent.Height; 10889if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height)) 10892viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height); 11775_offset.X == 0.0 && 11776_offset.Y == 0.0 && 11821return _offset; 12989_offset = _scrollData._offset,