2 writes to HorizontalOffset
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
180
HorizontalOffset
= validatedOffset;
2342
HorizontalOffset
= _xPositionISI;
34 references to HorizontalOffset
PresentationFramework (34)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
189
return (double)(owner.
HorizontalOffset
* 100.0 / (owner.ExtentWidth - owner.ViewportWidth));
System\Windows\Controls\ItemsControl.cs (18)
2080
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2119
if ((DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2123
ScrollHost.
HorizontalOffset
> ScrollHost.ExtentWidth))
2126
ScrollHost.
HorizontalOffset
< 0.0)))
2300
double oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2335
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2385
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2401
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2451
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2467
while (!DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) ||
2646
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
- scrollHost.ViewportWidth + elementBounds.Right);
2658
scrollHost.ScrollToHorizontalOffset(scrollHost.
HorizontalOffset
+ elementBounds.Left);
2724
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2733
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2746
oldHorizontalOffset = ScrollHost.
HorizontalOffset
;
2761
if (DoubleUtil.AreClose(oldHorizontalOffset, ScrollHost.
HorizontalOffset
) &&
2821
return FindFocusable((int)ScrollHost.
HorizontalOffset
, 1, out foundIndex, out firstElement);
2825
return FindFocusable((int)(ScrollHost.
HorizontalOffset
+ Math.Max(ScrollHost.ViewportWidth - 1, 0)),
System\Windows\Controls\ListBox.cs (2)
365
((key == Key.Right&& IsLogicalVertical && DoubleUtil.GreaterThan(ScrollHost.ScrollableWidth, ScrollHost.
HorizontalOffset
))) ||
366
((key == Key.Left && IsLogicalVertical && DoubleUtil.GreaterThanZero(ScrollHost.
HorizontalOffset
)));
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
616
return (this.ScrollViewer != null) ? this.ScrollViewer.
HorizontalOffset
: 0.0;
System\Windows\Controls\ScrollChangedEventArgs.cs (2)
57
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
73
/// <seealso cref="System.Windows.Controls.ScrollViewer.
HorizontalOffset
"/>
System\Windows\Controls\ScrollViewer.cs (7)
284
if ( !DoubleUtil.AreClose(
HorizontalOffset
, ScrollInfo.HorizontalOffset)
609
/// DependencyProperty for <see cref="
HorizontalOffset
" /> property.
1616
OriginalHorizontalOffset =
HorizontalOffset
,
1787
double offset = (isHorizontal ?
HorizontalOffset
: VerticalOffset);
2322
double oldActualHorizontalOffset =
HorizontalOffset
;
2408
new Vector(
HorizontalOffset
, VerticalOffset),
2409
new Vector(
HorizontalOffset
- oldActualHorizontalOffset, VerticalOffset - oldActualVerticalOffset),
System\windows\Documents\CaretElement.cs (2)
428
scroller.ScrollToHorizontalOffset(Math.Max(0, scroller.
HorizontalOffset
- deltaToScroll - scrollerWidth / 4));
434
scroller.ScrollToHorizontalOffset(Math.Min(scroller.ExtentWidth, scroller.
HorizontalOffset
+ deltaToScroll + scrollerWidth / 4));
System\windows\Documents\TextEditorMouse.cs (1)
677
scrollViewer.ScrollToHorizontalOffset(scrollViewer.
HorizontalOffset
- e.HorizontalChange);