10 references to HorizontalOffset
PresentationFramework (10)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (4)
149Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 160viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height); 182_pageVisual.Offset = new Vector(-_scrollData.HorizontalOffset, -_scrollData.VerticalOffset); 690return (_scrollData != null) ? _scrollData.HorizontalOffset : 0;
src\Framework\MS\Internal\Documents\TextBoxView.cs (6)
365return (_scrollData != null) ? _scrollData.HorizontalOffset : 0; 1789Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 1856horizontalOffset -= _scrollData.HorizontalOffset; 2012point = new Point(point.X + _scrollData.HorizontalOffset, point.Y + _scrollData.VerticalOffset); 2029rect.X -= _scrollData.HorizontalOffset; 3004new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);