2 writes to VerticalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
180
VerticalOffset
= validatedOffset;
2340
VerticalOffset
= _yPositionISI;
34 references to VerticalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
194
return (double)(owner.
VerticalOffset
* 100.0 / (owner.ExtentHeight - owner.ViewportHeight));
System\Windows\Controls\ItemsControl.cs (18)
2041
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2080
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2082
(ScrollHost.
VerticalOffset
> ScrollHost.ExtentHeight ||
2085
(ScrollHost.
VerticalOffset
< 0.0 ||
2261
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2296
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2346
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2362
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2412
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2428
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2610
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
- scrollHost.ViewportHeight + elementBounds.Bottom);
2622
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
+ elementBounds.Top);
2685
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2694
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2707
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2722
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2767
return FindFocusable((int)ScrollHost.
VerticalOffset
, 1, out foundIndex, out firstElement);
2771
return FindFocusable((int)(ScrollHost.
VerticalOffset
+ Math.Max(ScrollHost.ViewportHeight - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
355
((key == Key.Down && IsLogicalHorizontal && DoubleUtil.GreaterThan(ScrollHost.ScrollableHeight, ScrollHost.
VerticalOffset
))) ||
356
((key == Key.Up && IsLogicalHorizontal && DoubleUtil.GreaterThanZero(ScrollHost.
VerticalOffset
))) ||
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
621
return (this.ScrollViewer != null) ? this.ScrollViewer.
VerticalOffset
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
60
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
76
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
System\Windows\Controls\ScrollViewer.cs (7)
276
|| !DoubleUtil.AreClose(
VerticalOffset
, ScrollInfo.VerticalOffset)
583
/// DependencyProperty for <see cref="
VerticalOffset
" /> property.
1607
OriginalVerticalOffset =
VerticalOffset
,
1777
double offset = (isHorizontal ? HorizontalOffset :
VerticalOffset
);
2313
double oldActualVerticalOffset =
VerticalOffset
;
2398
new Vector(HorizontalOffset,
VerticalOffset
),
2399
new Vector(HorizontalOffset - oldActualHorizontalOffset,
VerticalOffset
- oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
406
scroller.ScrollToVerticalOffset(Math.Max(0, scroller.
VerticalOffset
- deltaToScroll - scrollerHeight / 4));
412
scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.
VerticalOffset
+ deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
660
scrollViewer.ScrollToVerticalOffset(scrollViewer.
VerticalOffset
- e.VerticalChange);