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