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)
301this.ScrollViewer.ScrollToVerticalOffset(offset);
System\Windows\Controls\ScrollViewer.cs (2)
1831ScrollToVerticalOffset(_panningInfo.OriginalVerticalOffset - 2565if (args.Parameter is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.Parameter); }
System\Windows\Controls\TextBox.cs (2)
1175ScrollViewer.ScrollToVerticalOffset(VerticalOffset - GetLineHeight()); 1186ScrollViewer.ScrollToVerticalOffset(VerticalOffset + GetLineHeight());
System\windows\Documents\CaretElement.cs (2)
408scroller.ScrollToVerticalOffset(Math.Max(0, scroller.VerticalOffset - deltaToScroll - scrollerHeight / 4)); 414scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
664scrollViewer.ScrollToVerticalOffset(scrollViewer.VerticalOffset - e.VerticalChange);