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