2 writes to HorizontalOffset
PresentationFramework (2)
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
183
HorizontalOffset
= validatedOffset;
2381
HorizontalOffset
= _xPositionISI;
38 references to HorizontalOffset
PresentationFramework (34)
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
186
return (double)(owner.
HorizontalOffset
* 100.0 / (owner.ExtentWidth - owner.ViewportWidth));
src\Framework\System\Windows\Controls\ItemsControl.cs (18)
2083
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2122
if ((DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2126
ScrollHost.
HorizontalOffset
> ScrollHost.ExtentWidth))
2129
ScrollHost.
HorizontalOffset
< 0.0)))
2303
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2338
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2388
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2404
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2454
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2470
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2649
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
- scrollHost.ViewportWidth + elementBounds.Right);
2661
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
+ elementBounds.Left);
2727
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2736
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2749
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2764
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2824
return FindFocusable((int)ScrollHost.
HorizontalOffset
, 1, out foundIndex, out firstElement);
2828
return FindFocusable((int)(ScrollHost.
HorizontalOffset
+ Math.Max(ScrollHost.ViewportWidth - 1, 0)),
src\Framework\System\Windows\Controls\ListBox.cs (2)
363
((key == Key.Right&& IsLogicalVertical && DoubleUtil.GreaterThan(ScrollHost.ScrollableWidth, ScrollHost.
HorizontalOffset
))) ||
364
((key == Key.Left && IsLogicalVertical && DoubleUtil.GreaterThan(ScrollHost.
HorizontalOffset
, 0d)));
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
639
return (this.ScrollViewer != null) ? this.ScrollViewer.
HorizontalOffset
: 0.0;
src\Framework\System\Windows\Controls\ScrollChangedEventArgs.cs (2)
59
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
75
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
src\Framework\System\Windows\Controls\ScrollViewer.cs (7)
287
if ( !DoubleUtil.AreClose(
HorizontalOffset
, ScrollInfo.HorizontalOffset)
630
/// DependencyProperty for <see cref="
HorizontalOffset
" /> property.
1662
OriginalHorizontalOffset =
HorizontalOffset
,
1833
double offset = (isHorizontal ?
HorizontalOffset
: VerticalOffset);
2361
double oldActualHorizontalOffset =
HorizontalOffset
;
2447
new Vector(
HorizontalOffset
, VerticalOffset),
2448
new Vector(
HorizontalOffset
- oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
src\Framework\System\windows\Documents\CaretElement.cs (2)
431
scroller.ScrollToHorizontalOffset(Math.Max(0, scroller.
HorizontalOffset
- deltaToScroll - scrollerWidth / 4));
437
scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.
HorizontalOffset
+ deltaToScroll + scrollerWidth / 4));
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
678
scrollViewer.ScrollToHorizontalOffset(scrollViewer.
HorizontalOffset
- e.HorizontalChange);
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
408
this.lookupWindow.Width * (MapSource.
HorizontalOffset
/ VisibleSourceWidth);
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
92
scrollViewer.ScrollToHorizontalOffset(scrollViewer.
HorizontalOffset
+ widthToScroll);
System.Activities.Presentation\System\Activities\Presentation\View\ScrollViewerPanner.cs (1)
170
this.scrollViewer.ScrollToHorizontalOffset(this.scrollViewer.
HorizontalOffset
- offset.X);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
195
Rect viewerBounds = new Rect(parentView.
HorizontalOffset
, parentView.VerticalOffset, parentView.ViewportWidth, parentView.ViewportHeight);