3 writes to ScrollInfo
PresentationFramework (3)
System\Windows\Controls\DocumentViewer.cs (1)
2130
_scrollViewer.
ScrollInfo
= _documentScrollInfo;
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
785
scrollContainer.
ScrollInfo
= si;
793
if (_scrollInfo.ScrollOwner != null) { _scrollInfo.ScrollOwner.
ScrollInfo
= null; }
41 references to ScrollInfo
PresentationFramework (41)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (4)
216
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentWidth)) { return 100.0; }
230
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentHeight)) { return 100f; }
276
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentWidth, owner.ViewportWidth);
284
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentHeight, owner.ViewportHeight);
System\Windows\Controls\DataGridCellsPanel.cs (1)
2175
scrollInfo = scrollViewer.
ScrollInfo
;
System\Windows\Controls\ScrollViewer.cs (35)
225
IScrollInfo isi = this.
ScrollInfo
;
255
double extent =
ScrollInfo
.ExtentWidth;
256
double viewport =
ScrollInfo
.ViewportWidth;
268
extent =
ScrollInfo
.ExtentHeight;
269
viewport =
ScrollInfo
.ViewportHeight;
284
if ( !DoubleUtil.AreClose(HorizontalOffset,
ScrollInfo
.HorizontalOffset)
285
|| !DoubleUtil.AreClose(VerticalOffset,
ScrollInfo
.VerticalOffset)
286
|| !DoubleUtil.AreClose(ViewportWidth,
ScrollInfo
.ViewportWidth)
287
|| !DoubleUtil.AreClose(ViewportHeight,
ScrollInfo
.ViewportHeight)
288
|| !DoubleUtil.AreClose(ExtentWidth,
ScrollInfo
.ExtentWidth)
289
|| !DoubleUtil.AreClose(ExtentHeight,
ScrollInfo
.ExtentHeight))
1119
if (
ScrollInfo
!= null)
1121
if (e.Delta < 0) {
ScrollInfo
.MouseWheelDown(); }
1122
else {
ScrollInfo
.MouseWheelUp(); }
1147
IScrollInfo isi = this.
ScrollInfo
;
1201
isi = this.
ScrollInfo
;
2216
IScrollInfo isi =
ScrollInfo
;
2339
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualHorizontalOffset,
ScrollInfo
.HorizontalOffset))
2341
_xPositionISI =
ScrollInfo
.HorizontalOffset;
2347
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualVerticalOffset,
ScrollInfo
.VerticalOffset))
2349
_yPositionISI =
ScrollInfo
.VerticalOffset;
2355
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportWidth,
ScrollInfo
.ViewportWidth))
2357
_xSize =
ScrollInfo
.ViewportWidth;
2362
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportHeight,
ScrollInfo
.ViewportHeight))
2364
_ySize =
ScrollInfo
.ViewportHeight;
2369
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentWidth,
ScrollInfo
.ExtentWidth))
2371
_xExtent =
ScrollInfo
.ExtentWidth;
2376
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentHeight,
ScrollInfo
.ExtentHeight))
2378
_yExtent =
ScrollInfo
.ExtentHeight;
System\windows\Documents\TextEditorDragDrop.cs (1)
374
scrollInfo = ((ScrollViewer)scroller).
ScrollInfo
;