src\Framework\System\Windows\Controls\ScrollViewer.cs (10)
1820e.ReportBoundaryFeedback(new ManipulationDelta(new Vector(unusedX, unusedY), 0.0, new Vector(1.0, 1.0), new Vector()));
1878_panningInfo.UnusedTranslation = new Vector(unused, _panningInfo.UnusedTranslation.Y);
1888_panningInfo.UnusedTranslation = new Vector(_panningInfo.UnusedTranslation.X, unused);
1988!DoubleUtil.AreClose(e.FinalVelocities.LinearVelocity, new Vector()) &&
2447new Vector(HorizontalOffset, VerticalOffset),
2448new Vector(HorizontalOffset - oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
2450new Vector(ExtentWidth - oldExtentWidth, ExtentHeight - oldExtentHeight),
2452new Vector(ViewportWidth - oldViewportWidth, ViewportHeight - oldViewportHeight));
src\Framework\System\Windows\Controls\TextBlock.cs (12)
1493Vector contentOffset = CalcContentOffset(arrangeSize, wrappingWidth);
1500Vector lineOffset = contentOffset;
1601Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
1762Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
1896Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
2143Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
2225Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
2281Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
2382Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
3201private Vector CalcContentOffset(Size computedSize, double wrappingWidth)
3203Vector contentOffset = new Vector();
3412Vector contentOffset = CalcContentOffset(RenderSize, wrappingWidth);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (18)
492Vector oldViewportOffset = _scrollData._offset;
618Vector oldViewportOffset = _scrollData._offset;
1437Vector newOffset = new Vector();
1506Vector oldOffset = _scrollData._offset;
9463Vector computedViewportOffset, viewportOffset;
9469Vector offsetForScrollViewerRemeasure = _scrollData._offset;
10270Vector oldViewportOffset = _scrollData._computedOffset;
10317Vector computedViewportOffset, viewportOffset;
10773Vector oldViewportOffset = _scrollData._computedOffset;
10842protected virtual void OnViewportOffsetChanged(Vector oldViewportOffset, Vector newViewportOffset)
11015private void MakeVisiblePhysicalHelper(Rect r, ref Vector newOffset, ref Rect newRect, bool isHorizontal, ref bool alignTop, ref bool alignBottom)
11072private void MakeVisibleLogicalHelper(int childIndex, Rect r, ref Vector newOffset, ref Rect newRect, ref bool alignTop, ref bool alignBottom)
11658internal Vector _offset;
11663internal Vector _computedOffset = new Vector(0,0);
11679public Vector Offset
11715public Vector ComputedOffset
12796private static void WriteVector(BinaryWriter writer, ref Vector vector)