2 writes to VerticalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
181VerticalOffset = validatedOffset; 2342VerticalOffset = _yPositionISI;
34 references to VerticalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
195return (double)(owner.VerticalOffset * 100.0 / (owner.ExtentHeight - owner.ViewportHeight));
System\Windows\Controls\ItemsControl.cs (18)
2072double oldVerticalOffset = ScrollHost.VerticalOffset; 2111DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)) 2113(ScrollHost.VerticalOffset > ScrollHost.ExtentHeight || 2116(ScrollHost.VerticalOffset < 0.0 || 2292double oldVerticalOffset = ScrollHost.VerticalOffset; 2327DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)) 2377oldVerticalOffset = ScrollHost.VerticalOffset; 2393!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)); 2443oldVerticalOffset = ScrollHost.VerticalOffset; 2459!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)); 2641scrollHost.ScrollToVerticalOffset(scrollHost.VerticalOffset - scrollHost.ViewportHeight + elementBounds.Bottom); 2653scrollHost.ScrollToVerticalOffset(scrollHost.VerticalOffset + elementBounds.Top); 2716oldVerticalOffset = ScrollHost.VerticalOffset; 2725DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)) 2738oldVerticalOffset = ScrollHost.VerticalOffset; 2753DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.VerticalOffset)) 2798return FindFocusable((int)ScrollHost.VerticalOffset, 1, out foundIndex, out firstElement); 2802return FindFocusable((int)(ScrollHost.VerticalOffset + Math.Max(ScrollHost.ViewportHeight - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
357((key == Key.Down && IsLogicalHorizontal && DoubleUtil.GreaterThan(ScrollHost.ScrollableHeight, ScrollHost.VerticalOffset))) || 358((key == Key.Up && IsLogicalHorizontal && DoubleUtil.GreaterThanZero(ScrollHost.VerticalOffset))) ||
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
620return (this.ScrollViewer != null) ? this.ScrollViewer.VerticalOffset : 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
61/// <seealso cref="System.Windows.Controls.ScrollViewer.VerticalOffset"/> 77/// <seealso cref="System.Windows.Controls.ScrollViewer.VerticalOffset"/>
System\Windows\Controls\ScrollViewer.cs (7)
277|| !DoubleUtil.AreClose(VerticalOffset, ScrollInfo.VerticalOffset) 584/// DependencyProperty for <see cref="VerticalOffset" /> property. 1609OriginalVerticalOffset = VerticalOffset, 1779double offset = (isHorizontal ? HorizontalOffset : VerticalOffset); 2315double oldActualVerticalOffset = VerticalOffset; 2400new Vector(HorizontalOffset, VerticalOffset), 2401new Vector(HorizontalOffset - oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
408scroller.ScrollToVerticalOffset(Math.Max(0, scroller.VerticalOffset - deltaToScroll - scrollerHeight / 4)); 414scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.VerticalOffset + deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
664scrollViewer.ScrollToVerticalOffset(scrollViewer.VerticalOffset - e.VerticalChange);