3 writes to ScrollInfo
PresentationFramework (3)
System\Windows\Controls\DocumentViewer.cs (1)
2126
_scrollViewer.
ScrollInfo
= _documentScrollInfo;
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
770
scrollContainer.
ScrollInfo
= si;
778
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)
2173
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
;
2210
IScrollInfo isi =
ScrollInfo
;
2333
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualHorizontalOffset,
ScrollInfo
.HorizontalOffset))
2335
_xPositionISI =
ScrollInfo
.HorizontalOffset;
2341
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualVerticalOffset,
ScrollInfo
.VerticalOffset))
2343
_yPositionISI =
ScrollInfo
.VerticalOffset;
2349
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportWidth,
ScrollInfo
.ViewportWidth))
2351
_xSize =
ScrollInfo
.ViewportWidth;
2356
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportHeight,
ScrollInfo
.ViewportHeight))
2358
_ySize =
ScrollInfo
.ViewportHeight;
2363
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentWidth,
ScrollInfo
.ExtentWidth))
2365
_xExtent =
ScrollInfo
.ExtentWidth;
2370
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentHeight,
ScrollInfo
.ExtentHeight))
2372
_yExtent =
ScrollInfo
.ExtentHeight;
System\windows\Documents\TextEditorDragDrop.cs (1)
357
scrollInfo = ((ScrollViewer)scroller).
ScrollInfo
;