11 references to ScrollToVerticalOffset
PresentationFramework (11)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
175
owner.
ScrollToVerticalOffset
((owner.ExtentHeight - owner.ViewportHeight) * (double)verticalPercent * 0.01);
System\Windows\Controls\ItemsControl.cs (2)
2650
scrollHost.
ScrollToVerticalOffset
(scrollHost.VerticalOffset - scrollHost.ViewportHeight + elementBounds.Bottom);
2662
scrollHost.
ScrollToVerticalOffset
(scrollHost.VerticalOffset + elementBounds.Top);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
310
this.ScrollViewer.
ScrollToVerticalOffset
(offset);
System\Windows\Controls\ScrollViewer.cs (2)
1839
ScrollToVerticalOffset
(_panningInfo.OriginalVerticalOffset -
2573
if (args.Parameter is double) { ((ScrollViewer)target).
ScrollToVerticalOffset
((double)args.Parameter); }
System\Windows\Controls\TextBox.cs (2)
1182
ScrollViewer.
ScrollToVerticalOffset
(VerticalOffset - GetLineHeight());
1193
ScrollViewer.
ScrollToVerticalOffset
(VerticalOffset + GetLineHeight());
System\windows\Documents\CaretElement.cs (2)
411
scroller.
ScrollToVerticalOffset
(Math.Max(0, scroller.VerticalOffset - deltaToScroll - scrollerHeight / 4));
417
scroller.
ScrollToVerticalOffset
(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
678
scrollViewer.
ScrollToVerticalOffset
(scrollViewer.VerticalOffset - e.VerticalChange);