6 implementations of ViewportHeight
PresentationFramework (6)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
586
public double
ViewportHeight
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
675
double IScrollInfo.
ViewportHeight
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
350
double IScrollInfo.
ViewportHeight
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
284
public double
ViewportHeight
src\Framework\System\Windows\Controls\Stack.cs (1)
436
public double
ViewportHeight
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1853
public double
ViewportHeight
18 references to ViewportHeight
PresentationFramework (18)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1413
Rect viewport = new Rect(0, 0, scrollInfo.ViewportWidth, scrollInfo.
ViewportHeight
);
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
638
double 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)
214
if (scrollInfo.ViewportWidth != 0 && scrollInfo.
ViewportHeight
!= 0)
216
visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.ViewportWidth, scrollInfo.
ViewportHeight
);
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
144
Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.ViewportWidth, isi.
ViewportHeight
);
164
if (isi.
ViewportHeight
> 0)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1345
SetValue(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)
272
viewport = ScrollInfo.
ViewportHeight
;
290
|| !DoubleUtil.AreClose(ViewportHeight, ScrollInfo.
ViewportHeight
)
1233
bool makeVerticalBarVisible = vsbAuto && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.
ViewportHeight
);
1278
bool makeVerticalBarVisible2 = !makeVerticalBarVisible && DoubleUtil.GreaterThan(isi.ExtentHeight, isi.
ViewportHeight
);
2401
if (ScrollInfo != null && !DoubleUtil.AreClose(oldViewportHeight, ScrollInfo.
ViewportHeight
))
2403
_ySize = ScrollInfo.
ViewportHeight
;
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
269
isi.SetVerticalOffset(alignToTop ? rangeBounds.Top : (rangeBounds.Bottom - isi.
ViewportHeight
));