7 references to ViewportHeight
PresentationFramework (7)
MS\Internal\Documents\FlowDocumentView.cs (4)
138if (Math.Abs(_scrollData.ExtentHeight - _scrollData.ViewportHeight) < 1) 140_scrollData.ExtentHeight = _scrollData.ViewportHeight; 145Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.ViewportHeight, _scrollData.VerticalOffset))); 674return (_scrollData != null) ? _scrollData.ViewportHeight : 0;
MS\Internal\Documents\TextBoxView.cs (3)
352return (_scrollData != null) ? _scrollData.ViewportHeight : 0; 1792Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.ViewportHeight, _scrollData.VerticalOffset))); 3027new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);