2 writes to HorizontalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
172HorizontalOffset = validatedOffset; 2334HorizontalOffset = _xPositionISI;
34 references to HorizontalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
181return (double)(owner.HorizontalOffset * 100.0 / (owner.ExtentWidth - owner.ViewportWidth));
System\Windows\Controls\ItemsControl.cs (18)
2071double oldHorizontalOffset = ScrollHost.HorizontalOffset; 2110if ((DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) && 2114ScrollHost.HorizontalOffset > ScrollHost.ExtentWidth)) 2117ScrollHost.HorizontalOffset < 0.0))) 2291double oldHorizontalOffset = ScrollHost.HorizontalOffset; 2326if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) && 2376oldHorizontalOffset = ScrollHost.HorizontalOffset; 2392while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) || 2442oldHorizontalOffset = ScrollHost.HorizontalOffset; 2458while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) || 2637scrollHost.ScrollToHorizontalOffset(scrollHost.HorizontalOffset - scrollHost.ViewportWidth + elementBounds.Right); 2649scrollHost.ScrollToHorizontalOffset(scrollHost.HorizontalOffset + elementBounds.Left); 2715oldHorizontalOffset = ScrollHost.HorizontalOffset; 2724if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) && 2737oldHorizontalOffset = ScrollHost.HorizontalOffset; 2752if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.HorizontalOffset) && 2812return FindFocusable((int)ScrollHost.HorizontalOffset, 1, out foundIndex, out firstElement); 2816return FindFocusable((int)(ScrollHost.HorizontalOffset + Math.Max(ScrollHost.ViewportWidth - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
359((key == Key.Right&& IsLogicalVertical && DoubleUtil.GreaterThan(ScrollHost.ScrollableWidth, ScrollHost.HorizontalOffset))) || 360((key == Key.Left && IsLogicalVertical && DoubleUtil.GreaterThanZero(ScrollHost.HorizontalOffset)));
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
607return (this.ScrollViewer != null) ? this.ScrollViewer.HorizontalOffset : 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
53/// <seealso cref="System.Windows.Controls.ScrollViewer.HorizontalOffset"/> 69/// <seealso cref="System.Windows.Controls.ScrollViewer.HorizontalOffset"/>
System\Windows\Controls\ScrollViewer.cs (7)
276if ( !DoubleUtil.AreClose(HorizontalOffset, ScrollInfo.HorizontalOffset) 601/// DependencyProperty for <see cref="HorizontalOffset" /> property. 1608OriginalHorizontalOffset = HorizontalOffset, 1779double offset = (isHorizontal ? HorizontalOffset : VerticalOffset); 2314double oldActualHorizontalOffset = HorizontalOffset; 2400new Vector(HorizontalOffset, VerticalOffset), 2401new Vector(HorizontalOffset - oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
425scroller.ScrollToHorizontalOffset(Math.Max(0, scroller.HorizontalOffset - deltaToScroll - scrollerWidth / 4)); 431scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.HorizontalOffset + deltaToScroll + scrollerWidth / 4));
System\windows\Documents\TextEditorMouse.cs (1)
663scrollViewer.ScrollToHorizontalOffset(scrollViewer.HorizontalOffset - e.HorizontalChange);