11 references to ScrollToHorizontalOffset
PresentationFramework (11)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
171
owner.
ScrollToHorizontalOffset
((owner.ExtentWidth - owner.ViewportWidth) * (double)horizontalPercent * 0.01);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1100
_headerSV.
ScrollToHorizontalOffset
(e.HorizontalOffset);
1109
_mainSV.
ScrollToHorizontalOffset
(e.HorizontalOffset);
System\Windows\Controls\ItemsControl.cs (2)
2646
scrollHost.
ScrollToHorizontalOffset
(scrollHost.HorizontalOffset - scrollHost.ViewportWidth + elementBounds.Right);
2658
scrollHost.
ScrollToHorizontalOffset
(scrollHost.HorizontalOffset + elementBounds.Left);
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
293
this.ScrollViewer.
ScrollToHorizontalOffset
(offset);
System\Windows\Controls\ScrollViewer.cs (2)
1829
ScrollToHorizontalOffset
(_panningInfo.OriginalHorizontalOffset -
2569
if (args.Parameter is double) { ((ScrollViewer)target).
ScrollToHorizontalOffset
((double)args.Parameter); }
System\windows\Documents\CaretElement.cs (2)
428
scroller.
ScrollToHorizontalOffset
(Math.Max(0, scroller.HorizontalOffset - deltaToScroll - scrollerWidth / 4));
434
scroller.
ScrollToHorizontalOffset
(Math.Min(scroller.ExtentWidth, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));
System\windows\Documents\TextEditorMouse.cs (1)
677
scrollViewer.
ScrollToHorizontalOffset
(scrollViewer.HorizontalOffset - e.HorizontalChange);