10 references to HorizontalOffset
PresentationFramework (10)
MS\Internal\Documents\FlowDocumentView.cs (4)
142Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 153viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 175_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 683return (_scrollData != null) ? _scrollData.HorizontalOffset : 0;
MS\Internal\Documents\TextBoxView.cs (6)
361return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 1789Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 1856horizontalOffset -= _scrollData.HorizontalOffset; 2014point = new Point(point.X + _scrollData.HorizontalOffset, point.Y + _scrollData.VerticalOffset); 2031rect.X -= _scrollData.HorizontalOffset; 3025new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);