1 write to _scrollData
PresentationFramework (1)
MS\Internal\Documents\TextBoxView.cs (1)
393
_scrollData
= new ScrollData();
84 references to _scrollData
PresentationFramework (84)
MS\Internal\Documents\TextBoxView.cs (84)
78
if (
_scrollData
!= null)
80
_scrollData
.LineUp(this);
89
if (
_scrollData
!= null)
91
_scrollData
.LineDown(this);
100
if (
_scrollData
!= null)
102
_scrollData
.LineLeft(this);
111
if (
_scrollData
!= null)
113
_scrollData
.LineRight(this);
122
if (
_scrollData
!= null)
124
_scrollData
.PageUp(this);
133
if (
_scrollData
!= null)
135
_scrollData
.PageDown(this);
144
if (
_scrollData
!= null)
146
_scrollData
.PageLeft(this);
155
if (
_scrollData
!= null)
157
_scrollData
.PageRight(this);
166
if (
_scrollData
!= null)
168
_scrollData
.MouseWheelUp(this);
177
if (
_scrollData
!= null)
179
_scrollData
.MouseWheelDown(this);
188
if (
_scrollData
!= null)
190
_scrollData
.MouseWheelLeft(this);
199
if (
_scrollData
!= null)
201
_scrollData
.MouseWheelRight(this);
210
if (
_scrollData
!= null)
212
_scrollData
.SetHorizontalOffset(this, offset);
221
if (
_scrollData
!= null)
223
_scrollData
.SetVerticalOffset(this, offset);
232
if (
_scrollData
== null)
238
rectangle =
_scrollData
.MakeVisible(this, visual, rectangle);
251
return (
_scrollData
!= null) ?
_scrollData
.CanVerticallyScroll : false;
255
if (
_scrollData
!= null)
257
_scrollData
.CanVerticallyScroll = value;
269
return (
_scrollData
!= null) ?
_scrollData
.CanHorizontallyScroll : false;
273
if (
_scrollData
!= null)
275
_scrollData
.CanHorizontallyScroll = value;
289
if (
_scrollData
!= null)
291
result =
_scrollData
.ExtentWidth;
316
if (
_scrollData
!= null)
318
result =
_scrollData
.ExtentHeight;
341
return (
_scrollData
!= null) ?
_scrollData
.ViewportWidth : 0;
352
return (
_scrollData
!= null) ?
_scrollData
.ViewportHeight : 0;
363
return (
_scrollData
!= null) ?
_scrollData
.HorizontalOffset : 0;
374
return (
_scrollData
!= null) ?
_scrollData
.VerticalOffset : 0;
385
return (
_scrollData
!= null) ?
_scrollData
.ScrollOwner : null;
390
if (
_scrollData
== null)
395
_scrollData
.SetScrollOwner(this, value);
501
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);