2 writes to HorizontalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
172
HorizontalOffset
= validatedOffset;
2334
HorizontalOffset
= _xPositionISI;
34 references to HorizontalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
181
return (double)(owner.
HorizontalOffset
* 100.0 / (owner.ExtentWidth - owner.ViewportWidth));
System\Windows\Controls\ItemsControl.cs (18)
2071
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2110
if ((DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2114
ScrollHost.
HorizontalOffset
> ScrollHost.ExtentWidth))
2117
ScrollHost.
HorizontalOffset
< 0.0)))
2291
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2326
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2376
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2392
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2442
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2458
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2637
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
- scrollHost.ViewportWidth + elementBounds.Right);
2649
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
+ elementBounds.Left);
2715
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2724
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2737
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2752
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2812
return FindFocusable((int)ScrollHost.
HorizontalOffset
, 1, out foundIndex, out firstElement);
2816
return FindFocusable((int)(ScrollHost.
HorizontalOffset
+ Math.Max(ScrollHost.ViewportWidth - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
359
((key == Key.Right&& IsLogicalVertical && DoubleUtil.GreaterThan(ScrollHost.ScrollableWidth, ScrollHost.
HorizontalOffset
))) ||
360
((key == Key.Left && IsLogicalVertical && DoubleUtil.GreaterThanZero(ScrollHost.
HorizontalOffset
)));
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
607
return (this.ScrollViewer != null) ? this.ScrollViewer.
HorizontalOffset
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
53
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
69
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
System\Windows\Controls\ScrollViewer.cs (7)
276
if ( !DoubleUtil.AreClose(
HorizontalOffset
, ScrollInfo.HorizontalOffset)
601
/// DependencyProperty for <see cref="
HorizontalOffset
" /> property.
1608
OriginalHorizontalOffset =
HorizontalOffset
,
1779
double offset = (isHorizontal ?
HorizontalOffset
: VerticalOffset);
2314
double oldActualHorizontalOffset =
HorizontalOffset
;
2400
new Vector(
HorizontalOffset
, VerticalOffset),
2401
new Vector(
HorizontalOffset
- oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
425
scroller.ScrollToHorizontalOffset(Math.Max(0, scroller.
HorizontalOffset
- deltaToScroll - scrollerWidth / 4));
431
scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.
HorizontalOffset
+ deltaToScroll + scrollerWidth / 4));
System\windows\Documents\TextEditorMouse.cs (1)
663
scrollViewer.ScrollToHorizontalOffset(scrollViewer.
HorizontalOffset
- e.HorizontalChange);