14 references to ScrollToVerticalOffset
PresentationFramework (11)
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
172owner.ScrollToVerticalOffset((owner.ExtentHeight - owner.ViewportHeight) * (double)verticalPercent * 0.01);
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
2653scrollHost.ScrollToVerticalOffset(scrollHost.VerticalOffset - scrollHost.ViewportHeight + elementBounds.Bottom); 2665scrollHost.ScrollToVerticalOffset(scrollHost.VerticalOffset + elementBounds.Top);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
333this.ScrollViewer.ScrollToVerticalOffset(offset);
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
1885ScrollToVerticalOffset(_panningInfo.OriginalVerticalOffset - 2613if (args.Parameter is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.Parameter); }
src\Framework\System\Windows\Controls\TextBox.cs (2)
1173ScrollViewer.ScrollToVerticalOffset(VerticalOffset - GetLineHeight()); 1184ScrollViewer.ScrollToVerticalOffset(VerticalOffset + GetLineHeight());
src\Framework\System\windows\Documents\CaretElement.cs (2)
414scroller.ScrollToVerticalOffset(Math.Max(0, scroller.VerticalOffset - deltaToScroll - scrollerHeight / 4)); 420scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
679scrollViewer.ScrollToVerticalOffset(scrollViewer.VerticalOffset - e.VerticalChange);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
394MapSource.ScrollToVerticalOffset((top / this.lookupWindow.Height) * VisibleSourceHeight);
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
91scrollViewer.ScrollToVerticalOffset(scrollViewer.VerticalOffset + heightToScroll);
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
171this.scrollViewer.ScrollToVerticalOffset(this.scrollViewer.VerticalOffset - offset.Y);