1 write to _scrollData
PresentationFramework (1)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
395
_scrollData
= new ScrollData();
84 references to _scrollData
PresentationFramework (84)
src\Framework\MS\Internal\Documents\TextBoxView.cs (84)
80
if (
_scrollData
!= null)
82
_scrollData
.LineUp(this);
91
if (
_scrollData
!= null)
93
_scrollData
.LineDown(this);
102
if (
_scrollData
!= null)
104
_scrollData
.LineLeft(this);
113
if (
_scrollData
!= null)
115
_scrollData
.LineRight(this);
124
if (
_scrollData
!= null)
126
_scrollData
.PageUp(this);
135
if (
_scrollData
!= null)
137
_scrollData
.PageDown(this);
146
if (
_scrollData
!= null)
148
_scrollData
.PageLeft(this);
157
if (
_scrollData
!= null)
159
_scrollData
.PageRight(this);
168
if (
_scrollData
!= null)
170
_scrollData
.MouseWheelUp(this);
179
if (
_scrollData
!= null)
181
_scrollData
.MouseWheelDown(this);
190
if (
_scrollData
!= null)
192
_scrollData
.MouseWheelLeft(this);
201
if (
_scrollData
!= null)
203
_scrollData
.MouseWheelRight(this);
212
if (
_scrollData
!= null)
214
_scrollData
.SetHorizontalOffset(this, offset);
223
if (
_scrollData
!= null)
225
_scrollData
.SetVerticalOffset(this, offset);
234
if (
_scrollData
== null)
240
rectangle =
_scrollData
.MakeVisible(this, visual, rectangle);
253
return (
_scrollData
!= null) ?
_scrollData
.CanVerticallyScroll : false;
257
if (
_scrollData
!= null)
259
_scrollData
.CanVerticallyScroll = value;
271
return (
_scrollData
!= null) ?
_scrollData
.CanHorizontallyScroll : false;
275
if (
_scrollData
!= null)
277
_scrollData
.CanHorizontallyScroll = value;
291
if(
_scrollData
!= null)
293
result =
_scrollData
.ExtentWidth;
318
if(
_scrollData
!= null)
320
result =
_scrollData
.ExtentHeight;
343
return (
_scrollData
!= null) ?
_scrollData
.ViewportWidth : 0;
354
return (
_scrollData
!= null) ?
_scrollData
.ViewportHeight : 0;
365
return (
_scrollData
!= null) ?
_scrollData
.HorizontalOffset : 0;
376
return (
_scrollData
!= null) ?
_scrollData
.VerticalOffset : 0;
387
return (
_scrollData
!= null) ?
_scrollData
.ScrollOwner : null;
392
if (
_scrollData
== null)
397
_scrollData
.SetScrollOwner(this, value);
502
if (
_scrollData
!= null)
1769
if (
_scrollData
== null)
1776
if (!DoubleUtil.AreClose(
_scrollData
.Viewport, arrangeSize))
1778
_scrollData
.Viewport = arrangeSize;
1782
if (!DoubleUtil.AreClose(
_scrollData
.Extent, _contentSize))
1784
_scrollData
.Extent = _contentSize;
1789
Math.Max(0, Math.Min(
_scrollData
.ExtentWidth -
_scrollData
.ViewportWidth,
_scrollData
.HorizontalOffset)),
1790
Math.Max(0, Math.Min(
_scrollData
.ExtentHeight -
_scrollData
.ViewportHeight,
_scrollData
.VerticalOffset)));
1792
if (!DoubleUtil.AreClose(offset,
_scrollData
.Offset))
1794
_scrollData
.Offset = offset;
1798
if (invalidateScrollInfo &&
_scrollData
.ScrollOwner != null)
1800
_scrollData
.ScrollOwner.InvalidateScrollInfo();
1854
if (
_scrollData
!= null)
1856
horizontalOffset -=
_scrollData
.HorizontalOffset;
1857
verticalOffset -=
_scrollData
.VerticalOffset;
2010
if (
_scrollData
!= null)
2012
point = new Point(point.X +
_scrollData
.HorizontalOffset, point.Y +
_scrollData
.VerticalOffset);
2027
if (
_scrollData
!= null)
2029
rect.X -=
_scrollData
.HorizontalOffset;
2030
rect.Y -=
_scrollData
.VerticalOffset;
3003
return
_scrollData
== null ? Rect.Empty :
3004
new Rect(
_scrollData
.HorizontalOffset,
_scrollData
.VerticalOffset,
_scrollData
.ViewportWidth,
_scrollData
.ViewportHeight);