3 writes to ScrollInfo
PresentationFramework (3)
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2175
_scrollViewer.
ScrollInfo
= _documentScrollInfo;
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (2)
791
scrollContainer.
ScrollInfo
= si;
799
if (_scrollInfo.ScrollOwner != null) { _scrollInfo.ScrollOwner.
ScrollInfo
= null; }
41 references to ScrollInfo
PresentationFramework (41)
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (4)
213
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentWidth)) { return 100.0; }
227
if (owner.
ScrollInfo
== null || DoubleUtil.IsZero(owner.ExtentHeight)) { return 100f; }
273
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentWidth, owner.ViewportWidth);
281
return owner.
ScrollInfo
!= null && DoubleUtil.GreaterThan(owner.ExtentHeight, owner.ViewportHeight);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
2179
scrollInfo = scrollViewer.
ScrollInfo
;
src\Framework\System\Windows\Controls\ScrollViewer.cs (35)
228
IScrollInfo isi = this.
ScrollInfo
;
258
double extent =
ScrollInfo
.ExtentWidth;
259
double viewport =
ScrollInfo
.ViewportWidth;
271
extent =
ScrollInfo
.ExtentHeight;
272
viewport =
ScrollInfo
.ViewportHeight;
287
if ( !DoubleUtil.AreClose(HorizontalOffset,
ScrollInfo
.HorizontalOffset)
288
|| !DoubleUtil.AreClose(VerticalOffset,
ScrollInfo
.VerticalOffset)
289
|| !DoubleUtil.AreClose(ViewportWidth,
ScrollInfo
.ViewportWidth)
290
|| !DoubleUtil.AreClose(ViewportHeight,
ScrollInfo
.ViewportHeight)
291
|| !DoubleUtil.AreClose(ExtentWidth,
ScrollInfo
.ExtentWidth)
292
|| !DoubleUtil.AreClose(ExtentHeight,
ScrollInfo
.ExtentHeight))
1146
if (
ScrollInfo
!= null)
1148
if (e.Delta < 0) {
ScrollInfo
.MouseWheelDown(); }
1149
else {
ScrollInfo
.MouseWheelUp(); }
1174
IScrollInfo isi = this.
ScrollInfo
;
1228
isi = this.
ScrollInfo
;
2264
IScrollInfo isi =
ScrollInfo
;
2378
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualHorizontalOffset,
ScrollInfo
.HorizontalOffset))
2380
_xPositionISI =
ScrollInfo
.HorizontalOffset;
2386
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldActualVerticalOffset,
ScrollInfo
.VerticalOffset))
2388
_yPositionISI =
ScrollInfo
.VerticalOffset;
2394
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportWidth,
ScrollInfo
.ViewportWidth))
2396
_xSize =
ScrollInfo
.ViewportWidth;
2401
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldViewportHeight,
ScrollInfo
.ViewportHeight))
2403
_ySize =
ScrollInfo
.ViewportHeight;
2408
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentWidth,
ScrollInfo
.ExtentWidth))
2410
_xExtent =
ScrollInfo
.ExtentWidth;
2415
if (
ScrollInfo
!= null && !DoubleUtil.AreClose(oldExtentHeight,
ScrollInfo
.ExtentHeight))
2417
_yExtent =
ScrollInfo
.ExtentHeight;
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
386
scrollInfo = ((ScrollViewer)scroller).
ScrollInfo
;