10 references to HorizontalOffset
PresentationFramework (10)
MS\Internal\Documents\FlowDocumentView.cs (4)
144Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 155viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 177_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 685return (_scrollData != null) ? _scrollData.HorizontalOffset : 0;
MS\Internal\Documents\TextBoxView.cs (6)
363return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 1791Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 1858horizontalOffset -= _scrollData.HorizontalOffset; 2016point = new Point(point.X + _scrollData.HorizontalOffset, point.Y + _scrollData.VerticalOffset); 2033rect.X -= _scrollData.HorizontalOffset; 3027new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);