7 references to ViewportHeight
PresentationFramework (7)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (4)
143
if (Math.Abs(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
) < 1)
145
_scrollData.ExtentHeight = _scrollData.
ViewportHeight
;
150
Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
, _scrollData.VerticalOffset)));
679
return (_scrollData != null) ? _scrollData.
ViewportHeight
: 0;
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
354
return (_scrollData != null) ? _scrollData.
ViewportHeight
: 0;
1790
Math.Max(0, Math.Min(_scrollData.ExtentHeight - _scrollData.
ViewportHeight
, _scrollData.VerticalOffset)));
3004
new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.
ViewportHeight
);