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