2 writes to VerticalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
189
VerticalOffset
= validatedOffset;
2350
VerticalOffset
= _yPositionISI;
34 references to VerticalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
203
return (double)(owner.
VerticalOffset
* 100.0 / (owner.ExtentHeight - owner.ViewportHeight));
System\Windows\Controls\ItemsControl.cs (18)
2081
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2120
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2122
(ScrollHost.
VerticalOffset
> ScrollHost.ExtentHeight ||
2125
(ScrollHost.
VerticalOffset
< 0.0 ||
2301
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2336
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2386
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2402
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2452
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2468
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2650
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
- scrollHost.ViewportHeight + elementBounds.Bottom);
2662
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
+ elementBounds.Top);
2725
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2734
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2747
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2762
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2807
return FindFocusable((int)ScrollHost.
VerticalOffset
, 1, out foundIndex, out firstElement);
2811
return FindFocusable((int)(ScrollHost.
VerticalOffset
+ Math.Max(ScrollHost.ViewportHeight - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
363
((key == Key.Down && IsLogicalHorizontal && DoubleUtil.GreaterThan(ScrollHost.ScrollableHeight, ScrollHost.
VerticalOffset
))) ||
364
((key == Key.Up && IsLogicalHorizontal && DoubleUtil.GreaterThanZero(ScrollHost.
VerticalOffset
))) ||
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
629
return (this.ScrollViewer != null) ? this.ScrollViewer.
VerticalOffset
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
65
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
81
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
System\Windows\Controls\ScrollViewer.cs (7)
285
|| !DoubleUtil.AreClose(
VerticalOffset
, ScrollInfo.VerticalOffset)
592
/// DependencyProperty for <see cref="
VerticalOffset
" /> property.
1617
OriginalVerticalOffset =
VerticalOffset
,
1787
double offset = (isHorizontal ? HorizontalOffset :
VerticalOffset
);
2323
double oldActualVerticalOffset =
VerticalOffset
;
2408
new Vector(HorizontalOffset,
VerticalOffset
),
2409
new Vector(HorizontalOffset - oldActualHorizontalOffset,
VerticalOffset
- oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
411
scroller.ScrollToVerticalOffset(Math.Max(0, scroller.
VerticalOffset
- deltaToScroll - scrollerHeight / 4));
417
scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.
VerticalOffset
+ deltaToScroll + scrollerHeight / 4));
System\windows\Documents\TextEditorMouse.cs (1)
678
scrollViewer.ScrollToVerticalOffset(scrollViewer.
VerticalOffset
- e.VerticalChange);