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