3 writes to ScrollInfo
PresentationFramework (3)
System\Windows\Controls\DocumentViewer.cs (1)
2118
_scrollViewer.
ScrollInfo
= _documentScrollInfo;
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
775
scrollContainer.
ScrollInfo
= si;
783
if (_scrollInfo.ScrollOwner != null) { _scrollInfo.ScrollOwner.
ScrollInfo
= null; }
41 references to ScrollInfo
PresentationFramework (41)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (4)
208
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentWidth)) { return 100.0; }
222
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentHeight)) { return 100f; }
268
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentWidth, owner.ViewportWidth);
276
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentHeight, owner.ViewportHeight);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2171
scrollInfo = scrollViewer.
ScrollInfo
;
System\Windows\Controls\ScrollViewer.cs (35)
217
IScrollInfo isi = this.
ScrollInfo
;
247
double extent =
ScrollInfo
.ExtentWidth;
248
double viewport =
ScrollInfo
.ViewportWidth;
260
extent =
ScrollInfo
.ExtentHeight;
261
viewport =
ScrollInfo
.ViewportHeight;
276
if ( !DoubleUtil.AreClose(HorizontalOffset,
ScrollInfo
.HorizontalOffset)
277
|| !DoubleUtil.AreClose(VerticalOffset,
ScrollInfo
.VerticalOffset)
278
|| !DoubleUtil.AreClose(ViewportWidth,
ScrollInfo
.ViewportWidth)
279
|| !DoubleUtil.AreClose(ViewportHeight,
ScrollInfo
.ViewportHeight)
280
|| !DoubleUtil.AreClose(ExtentWidth,
ScrollInfo
.ExtentWidth)
281
|| !DoubleUtil.AreClose(ExtentHeight,
ScrollInfo
.ExtentHeight))
1111
if (
ScrollInfo
!= null)
1113
if (e.Delta < 0) {
ScrollInfo
.MouseWheelDown(); }
1114
else {
ScrollInfo
.MouseWheelUp(); }
1139
IScrollInfo isi = this.
ScrollInfo
;
1193
isi = this.
ScrollInfo
;
2208
IScrollInfo isi =
ScrollInfo
;
2331
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualHorizontalOffset,
ScrollInfo
.HorizontalOffset))
2333
_xPositionISI =
ScrollInfo
.HorizontalOffset;
2339
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualVerticalOffset,
ScrollInfo
.VerticalOffset))
2341
_yPositionISI =
ScrollInfo
.VerticalOffset;
2347
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportWidth,
ScrollInfo
.ViewportWidth))
2349
_xSize =
ScrollInfo
.ViewportWidth;
2354
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportHeight,
ScrollInfo
.ViewportHeight))
2356
_ySize =
ScrollInfo
.ViewportHeight;
2361
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentWidth,
ScrollInfo
.ExtentWidth))
2363
_xExtent =
ScrollInfo
.ExtentWidth;
2368
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentHeight,
ScrollInfo
.ExtentHeight))
2370
_yExtent =
ScrollInfo
.ExtentHeight;
System\windows\Documents\TextEditorDragDrop.cs (1)
357
scrollInfo = ((ScrollViewer)scroller).
ScrollInfo
;