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