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