7 references to ViewportWidth
PresentationFramework (7)
MS\Internal\Documents\FlowDocumentView.cs (4)
134if (Math.Abs(_scrollData.ExtentWidth - _scrollData.ViewportWidth) < 1) 136_scrollData.ExtentWidth = _scrollData.ViewportWidth; 144Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 663return (_scrollData != null) ? _scrollData.ViewportWidth : 0;
MS\Internal\Documents\TextBoxView.cs (3)
341return (_scrollData != null) ? _scrollData.ViewportWidth : 0; 1791Math.Max(0, Math.Min(_scrollData.ExtentWidth - _scrollData.ViewportWidth, _scrollData.HorizontalOffset)), 3027new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);