Implemented interface member:
property
ViewportHeight
System.Windows.Controls.Primitives.IScrollInfo.ViewportHeight
16 references to ViewportHeight
PresentationFramework (16)
MS\Internal\Documents\DocumentGrid.cs (15)
166SetVerticalOffsetInternal(VerticalOffset - ViewportHeight); 174SetVerticalOffsetInternal(VerticalOffset + ViewportHeight); 620/// Valid values are inclusively between 0 and <see cref="ExtentHeight" /> less <see cref="ViewportHeight" />. 627double clippedVerticalOffset = Math.Min(_verticalOffset, ExtentHeight - ViewportHeight); 1629if (ExtentHeight > ViewportHeight) 1642(ViewportHeight - ExtentHeight) / 2.0 + (VerticalPageSpacing / 2.0); 1855ViewportHeight); 1863SetVerticalOffsetInternal(translatedRect.Y - (ViewportHeight / 2.0)); 1879ViewportHeight); 1900else if (r.Y + r.Height > VerticalOffset + ViewportHeight) 1902SetVerticalOffsetInternal(VerticalOffset + ((r.Y + r.Height) - (VerticalOffset + ViewportHeight))); 2224double viewportAspect = ViewportWidth / ViewportHeight; 2418double compensatedViewportHeight = ViewportHeight - VerticalPageSpacing; 2460double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 3063return (ViewportWidth != 0.0 && ViewportHeight != 0.0);
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
109uiScopeMouseDownPoint = new Point(.5 * documentGrid.ViewportWidth, .5 * documentGrid.ViewportHeight);