14 references to ScrollToHorizontalOffset
PresentationFramework (11)
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
168owner.ScrollToHorizontalOffset((owner.ExtentWidth - owner.ViewportWidth) * (double)horizontalPercent * 0.01);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1103_headerSV.ScrollToHorizontalOffset(e.HorizontalOffset); 1112_mainSV.ScrollToHorizontalOffset(e.HorizontalOffset);
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
2649scrollHost.ScrollToHorizontalOffset(scrollHost.HorizontalOffset - scrollHost.ViewportWidth + elementBounds.Right); 2661scrollHost.ScrollToHorizontalOffset(scrollHost.HorizontalOffset + elementBounds.Left);
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
316this.ScrollViewer.ScrollToHorizontalOffset(offset);
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
1875ScrollToHorizontalOffset(_panningInfo.OriginalHorizontalOffset - 2609if (args.Parameter is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.Parameter); }
src\Framework\System\windows\Documents\CaretElement.cs (2)
431scroller.ScrollToHorizontalOffset(Math.Max(0, scroller.HorizontalOffset - deltaToScroll - scrollerWidth / 4)); 437scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
678scrollViewer.ScrollToHorizontalOffset(scrollViewer.HorizontalOffset - e.HorizontalChange);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
393MapSource.ScrollToHorizontalOffset((left / this.lookupWindow.Width) * VisibleSourceWidth);
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
92scrollViewer.ScrollToHorizontalOffset(scrollViewer.HorizontalOffset + widthToScroll);
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
170this.scrollViewer.ScrollToHorizontalOffset(this.scrollViewer.HorizontalOffset - offset.X);