11 references to ScrollToVerticalOffset
PresentationFramework (11)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
167
owner.
ScrollToVerticalOffset
((owner.ExtentHeight - owner.ViewportHeight) * (double)verticalPercent * 0.01);
System\Windows\Controls\ItemsControl.cs (2)
2641
scrollHost.
ScrollToVerticalOffset
(scrollHost.VerticalOffset - scrollHost.ViewportHeight + elementBounds.Bottom);
2653
scrollHost.
ScrollToVerticalOffset
(scrollHost.VerticalOffset + elementBounds.Top);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
301
this.ScrollViewer.
ScrollToVerticalOffset
(offset);
System\Windows\Controls\ScrollViewer.cs (2)
1831
ScrollToVerticalOffset
(_panningInfo.OriginalVerticalOffset -
2565
if (args.Parameter is double) { ((ScrollViewer)target).
ScrollToVerticalOffset
((double)args.Parameter); }
System\Windows\Controls\TextBox.cs (2)
1175
ScrollViewer.
ScrollToVerticalOffset
(VerticalOffset - GetLineHeight());
1186
ScrollViewer.
ScrollToVerticalOffset
(VerticalOffset + GetLineHeight());
System\windows\Documents\CaretElement.cs (2)
408
scroller.
ScrollToVerticalOffset
(Math.Max(0, scroller.VerticalOffset - deltaToScroll - scrollerHeight / 4));
414
scroller.
ScrollToVerticalOffset
(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
664
scrollViewer.
ScrollToVerticalOffset
(scrollViewer.VerticalOffset - e.VerticalChange);