6 implementations of ViewportHeight
PresentationFramework (6)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
586public double ViewportHeight
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
675double IScrollInfo.ViewportHeight
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
350double IScrollInfo.ViewportHeight
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
284public double ViewportHeight
src\Framework\System\Windows\Controls\Stack.cs (1)
436public double ViewportHeight
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1853public double ViewportHeight
18 references to ViewportHeight
PresentationFramework (18)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1413Rect viewport = new Rect(0, 0, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
638double viewportHeight = scrollInfo.ViewportHeight;
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
673/// <see cref="IScrollInfo.ViewportHeight"/>
src\Framework\MS\Internal\Documents\ScrollData.cs (1)
336/// <see cref="IScrollInfo.ViewportHeight"/>
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
348/// <see cref="IScrollInfo.ViewportHeight"/>
src\Framework\MS\Internal\Documents\TextDocumentView.cs (2)
214if (scrollInfo.ViewportWidth != 0 && scrollInfo.ViewportHeight != 0) 216visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
144Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.ViewportWidth, isi.ViewportHeight); 164if (isi.ViewportHeight > 0)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1345SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight);
src\Framework\System\Windows\Controls\Primitives\IScrollInfo.cs (1)
108/// An implementation may coerce this value into a valid range, typically inclusively between 0 and <see cref="ExtentHeight" /> less <see cref="ViewportHeight" />.
src\Framework\System\Windows\Controls\ScrollViewer.cs (6)
272viewport = ScrollInfo.ViewportHeight; 290|| !DoubleUtil.AreClose(ViewportHeight, ScrollInfo.ViewportHeight) 1233bool makeVerticalBarVisible = vsbAuto && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.ViewportHeight); 1278bool makeVerticalBarVisible2 = !makeVerticalBarVisible && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.ViewportHeight); 2401if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportHeight, ScrollInfo.ViewportHeight)) 2403_ySize = ScrollInfo.ViewportHeight;
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
269isi.SetVerticalOffset(alignToTop ? rangeBounds.Top : (rangeBounds.Bottom - isi.ViewportHeight));