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