2 writes to VerticalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
181
VerticalOffset
= validatedOffset;
2342
VerticalOffset
= _yPositionISI;
34 references to VerticalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
195
return (double)(owner.
VerticalOffset
* 100.0 / (owner.ExtentHeight - owner.ViewportHeight));
System\Windows\Controls\ItemsControl.cs (18)
2072
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2111
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2113
(ScrollHost.
VerticalOffset
> ScrollHost.ExtentHeight ||
2116
(ScrollHost.
VerticalOffset
< 0.0 ||
2292
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2327
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2377
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2393
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2443
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2459
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2641
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
- scrollHost.ViewportHeight + elementBounds.Bottom);
2653
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
+ elementBounds.Top);
2716
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2725
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2738
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2753
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2798
return FindFocusable((int)ScrollHost.
VerticalOffset
, 1, out foundIndex, out firstElement);
2802
return 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)
620
return (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.
1609
OriginalVerticalOffset =
VerticalOffset
,
1779
double offset = (isHorizontal ? HorizontalOffset :
VerticalOffset
);
2315
double oldActualVerticalOffset =
VerticalOffset
;
2400
new Vector(HorizontalOffset,
VerticalOffset
),
2401
new Vector(HorizontalOffset - oldActualHorizontalOffset,
VerticalOffset
- oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
408
scroller.ScrollToVerticalOffset(Math.Max(0, scroller.
VerticalOffset
- deltaToScroll - scrollerHeight / 4));
414
scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.
VerticalOffset
+ deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
664
scrollViewer.ScrollToVerticalOffset(scrollViewer.
VerticalOffset
- e.VerticalChange);