2 writes to VerticalOffset
PresentationFramework (2)
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
192
VerticalOffset
= validatedOffset;
2389
VerticalOffset
= _yPositionISI;
38 references to VerticalOffset
PresentationFramework (34)
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
200
return (double)(owner.
VerticalOffset
* 100.0 / (owner.ExtentHeight - owner.ViewportHeight));
src\Framework\System\Windows\Controls\ItemsControl.cs (18)
2084
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2123
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2125
(ScrollHost.
VerticalOffset
> ScrollHost.ExtentHeight ||
2128
(ScrollHost.
VerticalOffset
< 0.0 ||
2304
double oldVerticalOffset = ScrollHost.
VerticalOffset
;
2339
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2389
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2405
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2455
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2471
!DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
));
2653
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
- scrollHost.ViewportHeight + elementBounds.Bottom);
2665
scrollHost.ScrollToVerticalOffset(scrollHost.
VerticalOffset
+ elementBounds.Top);
2728
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2737
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2750
oldVerticalOffset = ScrollHost.
VerticalOffset
;
2765
DoubleUtil.AreClose(oldVerticalOffset, ScrollHost.
VerticalOffset
))
2810
return FindFocusable((int)ScrollHost.
VerticalOffset
, 1, out foundIndex, out firstElement);
2814
return FindFocusable((int)(ScrollHost.
VerticalOffset
+ Math.Max(ScrollHost.ViewportHeight - 1, 0)),
src\Framework\System\Windows\Controls\ListBox.cs (2)
361
((key == Key.Down && IsLogicalHorizontal && DoubleUtil.GreaterThan(ScrollHost.ScrollableHeight, ScrollHost.
VerticalOffset
))) ||
362
((key == Key.Up && IsLogicalHorizontal && DoubleUtil.GreaterThan(ScrollHost.
VerticalOffset
, 0d))) ||
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
652
return (this.ScrollViewer != null) ? this.ScrollViewer.
VerticalOffset
: 0.0;
src\Framework\System\Windows\Controls\ScrollChangedEventArgs.cs (2)
67
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
83
/// <seealso cref="System.Windows.Controls.ScrollViewer.
VerticalOffset
"/>
src\Framework\System\Windows\Controls\ScrollViewer.cs (7)
288
|| !DoubleUtil.AreClose(
VerticalOffset
, ScrollInfo.VerticalOffset)
613
/// DependencyProperty for <see cref="
VerticalOffset
" /> property.
1663
OriginalVerticalOffset =
VerticalOffset
,
1833
double offset = (isHorizontal ? HorizontalOffset :
VerticalOffset
);
2362
double oldActualVerticalOffset =
VerticalOffset
;
2447
new Vector(HorizontalOffset,
VerticalOffset
),
2448
new Vector(HorizontalOffset - oldActualHorizontalOffset,
VerticalOffset
- oldActualVerticalOffset),
src\Framework\System\windows\Documents\CaretElement.cs (2)
414
scroller.ScrollToVerticalOffset(Math.Max(0, scroller.
VerticalOffset
- deltaToScroll - scrollerHeight / 4));
420
scroller.ScrollToVerticalOffset(Math.Min(scroller.ExtentHeight, scroller.
VerticalOffset
+ deltaToScroll + scrollerHeight / 4));
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
679
scrollViewer.ScrollToVerticalOffset(scrollViewer.
VerticalOffset
- e.VerticalChange);
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
411
this.lookupWindow.Height * (MapSource.
VerticalOffset
/ VisibleSourceHeight);
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
91
scrollViewer.ScrollToVerticalOffset(scrollViewer.
VerticalOffset
+ heightToScroll);
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
171
this.scrollViewer.ScrollToVerticalOffset(this.scrollViewer.
VerticalOffset
- offset.Y);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
195
Rect viewerBounds = new Rect(parentView.HorizontalOffset, parentView.
VerticalOffset
, parentView.ViewportWidth, parentView.ViewportHeight);