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