7 references to ViewportWidth
PresentationFramework (7)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (4)
139if (Math.Abs(_scrollData.ExtentWidth - _scrollData.ViewportWidth) < 1) 141_scrollData.ExtentWidth = _scrollData.ViewportWidth; 149Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 668return (_scrollData != null) ? _scrollData.ViewportWidth : 0;
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
343return (_scrollData != null) ? _scrollData.ViewportWidth : 0; 1789Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 3004new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);