7 references to ViewportHeight
PresentationFramework (7)
MS\Internal\Documents\FlowDocumentView.cs (4)
136
if (Math.Abs(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
) < 1)
138
_scrollData.ExtentHeight = _scrollData.
ViewportHeight
;
143
Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
, _scrollData.VerticalOffset)));
672
return (_scrollData != null) ? _scrollData.
ViewportHeight
: 0;
MS\Internal\Documents\TextBoxView.cs (3)
350
return (_scrollData != null) ? _scrollData.
ViewportHeight
: 0;
1790
Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
, _scrollData.VerticalOffset)));
3025
new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.
ViewportHeight
);