9 implementations of ViewportHeight
PresentationFramework (6)
MS\Internal\Documents\DocumentGrid.cs (1)
560public double ViewportHeight
MS\Internal\Documents\FlowDocumentView.cs (1)
668double IScrollInfo.ViewportHeight
MS\Internal\Documents\TextBoxView.cs (1)
346double IScrollInfo.ViewportHeight
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
268public double ViewportHeight
System\Windows\Controls\Stack.cs (1)
424public double ViewportHeight
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1897public double ViewportHeight
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
939public double ViewportHeight
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
1042public double ViewportHeight
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
279public double ViewportHeight
18 references to ViewportHeight
PresentationFramework (18)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1388Rect viewport = new Rect(0, 0, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
MS\Internal\Documents\DocumentPageTextView.cs (1)
634double viewportHeight = scrollInfo.ViewportHeight;
MS\Internal\Documents\FlowDocumentView.cs (1)
666/// <see cref="IScrollInfo.ViewportHeight"/>
MS\Internal\Documents\ScrollData.cs (1)
331/// <see cref="IScrollInfo.ViewportHeight"/>
MS\Internal\Documents\TextBoxView.cs (1)
344/// <see cref="IScrollInfo.ViewportHeight"/>
MS\Internal\Documents\TextDocumentView.cs (2)
205if (scrollInfo.ViewportWidth != 0 && scrollInfo.ViewportHeight != 0) 207visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight);
MS\Internal\Documents\TextViewBase.cs (2)
140Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.ViewportWidth, isi.ViewportHeight); 160if (isi.ViewportHeight > 0)
System\Windows\Controls\DocumentViewer.cs (1)
1313SetValue(ViewportHeightPropertyKey, _documentScrollInfo.ViewportHeight);
System\Windows\Controls\Primitives\IScrollInfo.cs (1)
99/// An implementation may coerce this value into a valid range, typically inclusively between 0 and <see cref="ExtentHeight" /> less <see cref="ViewportHeight" />.
System\Windows\Controls\ScrollViewer.cs (6)
261viewport = ScrollInfo.ViewportHeight; 279|| !DoubleUtil.AreClose(ViewportHeight, ScrollInfo.ViewportHeight) 1198bool makeVerticalBarVisible = vsbAuto && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.ViewportHeight); 1243bool makeVerticalBarVisible2 = !makeVerticalBarVisible && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.ViewportHeight); 2354if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportHeight, ScrollInfo.ViewportHeight)) 2356_ySize = ScrollInfo.ViewportHeight;
System\Windows\Controls\TextAdaptor.cs (1)
258isi.SetVerticalOffset(alignToTop ? rangeBounds.Top : (rangeBounds.Bottom - isi.ViewportHeight));