1 write to _scrollData
PresentationFramework (1)
MS\Internal\Documents\TextBoxView.cs (1)
391
_scrollData
= new ScrollData();
84 references to _scrollData
PresentationFramework (84)
MS\Internal\Documents\TextBoxView.cs (84)
76
if (
_scrollData
!= null)
78
_scrollData
.LineUp(this);
87
if (
_scrollData
!= null)
89
_scrollData
.LineDown(this);
98
if (
_scrollData
!= null)
100
_scrollData
.LineLeft(this);
109
if (
_scrollData
!= null)
111
_scrollData
.LineRight(this);
120
if (
_scrollData
!= null)
122
_scrollData
.PageUp(this);
131
if (
_scrollData
!= null)
133
_scrollData
.PageDown(this);
142
if (
_scrollData
!= null)
144
_scrollData
.PageLeft(this);
153
if (
_scrollData
!= null)
155
_scrollData
.PageRight(this);
164
if (
_scrollData
!= null)
166
_scrollData
.MouseWheelUp(this);
175
if (
_scrollData
!= null)
177
_scrollData
.MouseWheelDown(this);
186
if (
_scrollData
!= null)
188
_scrollData
.MouseWheelLeft(this);
197
if (
_scrollData
!= null)
199
_scrollData
.MouseWheelRight(this);
208
if (
_scrollData
!= null)
210
_scrollData
.SetHorizontalOffset(this, offset);
219
if (
_scrollData
!= null)
221
_scrollData
.SetVerticalOffset(this, offset);
230
if (
_scrollData
== null)
236
rectangle =
_scrollData
.MakeVisible(this, visual, rectangle);
249
return (
_scrollData
!= null) ?
_scrollData
.CanVerticallyScroll : false;
253
if (
_scrollData
!= null)
255
_scrollData
.CanVerticallyScroll = value;
267
return (
_scrollData
!= null) ?
_scrollData
.CanHorizontallyScroll : false;
271
if (
_scrollData
!= null)
273
_scrollData
.CanHorizontallyScroll = value;
287
if (
_scrollData
!= null)
289
result =
_scrollData
.ExtentWidth;
314
if (
_scrollData
!= null)
316
result =
_scrollData
.ExtentHeight;
339
return (
_scrollData
!= null) ?
_scrollData
.ViewportWidth : 0;
350
return (
_scrollData
!= null) ?
_scrollData
.ViewportHeight : 0;
361
return (
_scrollData
!= null) ?
_scrollData
.HorizontalOffset : 0;
372
return (
_scrollData
!= null) ?
_scrollData
.VerticalOffset : 0;
383
return (
_scrollData
!= null) ?
_scrollData
.ScrollOwner : null;
388
if (
_scrollData
== null)
393
_scrollData
.SetScrollOwner(this, value);
499
if (
_scrollData
!= null)
1771
if (
_scrollData
== null)
1778
if (!DoubleUtil.AreClose(
_scrollData
.Viewport, arrangeSize))
1780
_scrollData
.Viewport = arrangeSize;
1784
if (!DoubleUtil.AreClose(
_scrollData
.Extent, _contentSize))
1786
_scrollData
.Extent = _contentSize;
1791
Math.Max(0, Math.Min(
_scrollData
.ExtentWidth -
_scrollData
.ViewportWidth,
_scrollData
.HorizontalOffset)),
1792
Math.Max(0, Math.Min(
_scrollData
.ExtentHeight -
_scrollData
.ViewportHeight,
_scrollData
.VerticalOffset)));
1794
if (!DoubleUtil.AreClose(offset,
_scrollData
.Offset))
1796
_scrollData
.Offset = offset;
1800
if (invalidateScrollInfo &&
_scrollData
.ScrollOwner != null)
1802
_scrollData
.ScrollOwner.InvalidateScrollInfo();
1856
if (
_scrollData
!= null)
1858
horizontalOffset -=
_scrollData
.HorizontalOffset;
1859
verticalOffset -=
_scrollData
.VerticalOffset;
2014
if (
_scrollData
!= null)
2016
point = new Point(point.X +
_scrollData
.HorizontalOffset, point.Y +
_scrollData
.VerticalOffset);
2031
if (
_scrollData
!= null)
2033
rect.X -=
_scrollData
.HorizontalOffset;
2034
rect.Y -=
_scrollData
.VerticalOffset;
3026
return
_scrollData
== null ? Rect.Empty :
3027
new Rect(
_scrollData
.HorizontalOffset,
_scrollData
.VerticalOffset,
_scrollData
.ViewportWidth,
_scrollData
.ViewportHeight);