Implemented interface member:
property
ViewportHeight
System.Windows.Controls.Primitives.IScrollInfo.ViewportHeight
16 references to ViewportHeight
PresentationFramework (16)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (15)
173SetVerticalOffsetInternal(VerticalOffset - ViewportHeight); 181SetVerticalOffsetInternal(VerticalOffset + ViewportHeight); 639/// Valid values are inclusively between 0 and <see cref="ExtentHeight" /> less <see cref="ViewportHeight" />. 646double clippedVerticalOffset = Math.Min(_verticalOffset, ExtentHeight - ViewportHeight); 1659if (ExtentHeight > ViewportHeight) 1672(ViewportHeight - ExtentHeight) / 2.0 + (VerticalPageSpacing / 2.0); 1894ViewportHeight); 1902SetVerticalOffsetInternal(translatedRect.Y - (ViewportHeight / 2.0)); 1918ViewportHeight); 1939else if (r.Y + r.Height > VerticalOffset + ViewportHeight) 1941SetVerticalOffsetInternal(VerticalOffset + ((r.Y + r.Height) - (VerticalOffset + ViewportHeight))); 2264double viewportAspect = ViewportWidth / ViewportHeight; 2460double compensatedViewportHeight = ViewportHeight - VerticalPageSpacing; 2502double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 3115return (ViewportWidth != 0.0 && ViewportHeight != 0.0);
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (1)
126uiScopeMouseDownPoint = new Point(.5 * documentGrid.ViewportWidth, .5 * documentGrid.ViewportHeight);