2 writes to _offset
PresentationFramework (2)
src\Framework\MS\Internal\Documents\ScrollData.cs (2)
243
_offset
= new Vector();
389
_offset
= value;
21 references to _offset
PresentationFramework (21)
src\Framework\MS\Internal\Documents\ScrollData.cs (21)
37
SetVerticalOffset(owner,
_offset
.Y - ScrollViewer._scrollLineDelta);
45
SetVerticalOffset(owner,
_offset
.Y + ScrollViewer._scrollLineDelta);
53
SetHorizontalOffset(owner,
_offset
.X - ScrollViewer._scrollLineDelta);
61
SetHorizontalOffset(owner,
_offset
.X + ScrollViewer._scrollLineDelta);
69
SetVerticalOffset(owner,
_offset
.Y - _viewport.Height);
77
SetVerticalOffset(owner,
_offset
.Y + _viewport.Height);
85
SetHorizontalOffset(owner,
_offset
.X - _viewport.Width);
93
SetHorizontalOffset(owner,
_offset
.X + _viewport.Width);
101
SetVerticalOffset(owner,
_offset
.Y - ScrollViewer._mouseWheelDelta);
109
SetVerticalOffset(owner,
_offset
.Y + ScrollViewer._mouseWheelDelta);
117
SetHorizontalOffset(owner,
_offset
.X - ScrollViewer._mouseWheelDelta);
125
SetHorizontalOffset(owner,
_offset
.X + ScrollViewer._mouseWheelDelta);
139
if (!DoubleUtil.AreClose(offset,
_offset
.X))
141
_offset
.X = offset;
161
if (!DoubleUtil.AreClose(offset,
_offset
.Y))
163
_offset
.Y = offset;
191
Rect viewport = new Rect(
_offset
.X,
_offset
.Y, _viewport.Width, _viewport.Height);
353
return
_offset
.X;
364
return
_offset
.Y;
384
return
_offset
;