Implemented interface member:
property
ViewportHeight
System.Windows.Controls.Primitives.IScrollInfo.ViewportHeight
16 references to ViewportHeight
PresentationFramework (16)
MS\Internal\Documents\DocumentGrid.cs (15)
159
SetVerticalOffsetInternal(VerticalOffset -
ViewportHeight
);
167
SetVerticalOffsetInternal(VerticalOffset +
ViewportHeight
);
613
/// Valid values are inclusively between 0 and <see cref="ExtentHeight" /> less <see cref="
ViewportHeight
" />.
620
double clippedVerticalOffset = Math.Min(_verticalOffset, ExtentHeight -
ViewportHeight
);
1624
if (ExtentHeight >
ViewportHeight
)
1637
(
ViewportHeight
- ExtentHeight) / 2.0 + (VerticalPageSpacing / 2.0);
1851
ViewportHeight
);
1859
SetVerticalOffsetInternal(translatedRect.Y - (
ViewportHeight
/ 2.0));
1875
ViewportHeight
);
1896
else if (r.Y + r.Height > VerticalOffset +
ViewportHeight
)
1898
SetVerticalOffsetInternal(VerticalOffset + ((r.Y + r.Height) - (VerticalOffset +
ViewportHeight
)));
2220
double viewportAspect = ViewportWidth /
ViewportHeight
;
2414
double compensatedViewportHeight =
ViewportHeight
- VerticalPageSpacing;
2456
double thumbnailCompensatedViewportHeight =
ViewportHeight
- VerticalPageSpacing * _rowCache.RowCount;
3061
return (ViewportWidth != 0.0 &&
ViewportHeight
!= 0.0);
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
103
uiScopeMouseDownPoint = new Point(.5 * documentGrid.ViewportWidth, .5 * documentGrid.
ViewportHeight
);