1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
783
if (_scrollData == null) {
_scrollData
= new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
System\Windows\Controls\Stack.cs (46)
204
if (!DoubleUtil.AreClose(scrollX,
_scrollData
._offset.X))
206
_scrollData
._offset.X = scrollX;
218
if (!DoubleUtil.AreClose(scrollY,
_scrollData
._offset.Y))
220
_scrollData
._offset.Y = scrollY;
269
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X,
_scrollData
._extent.Width,
_scrollData
._viewport.Width);
270
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y,
_scrollData
._extent.Height,
_scrollData
._viewport.Height);
271
if (!DoubleUtil.AreClose(newOffset,
_scrollData
._offset))
273
_scrollData
._offset = newOffset;
348
if (
_scrollData
== null) { return false; }
349
return
_scrollData
._allowHorizontal;
354
if (
_scrollData
._allowHorizontal != value)
356
_scrollData
._allowHorizontal = value;
371
if (
_scrollData
== null) { return false; }
372
return
_scrollData
._allowVertical;
377
if (
_scrollData
._allowVertical != value)
379
_scrollData
._allowVertical = value;
392
if (
_scrollData
== null) { return 0.0; }
393
return
_scrollData
._extent.Width;
404
if (
_scrollData
== null) { return 0.0; }
405
return
_scrollData
._extent.Height;
416
if (
_scrollData
== null) { return 0.0; }
417
return
_scrollData
._viewport.Width;
428
if (
_scrollData
== null) { return 0.0; }
429
return
_scrollData
._viewport.Height;
441
if (
_scrollData
== null) { return 0.0; }
442
return
_scrollData
._computedOffset.X;
454
if (
_scrollData
== null) { return 0.0; }
455
return
_scrollData
._computedOffset.Y;
469
return
_scrollData
._scrollOwner;
474
if (value !=
_scrollData
._scrollOwner)
477
_scrollData
._scrollOwner = value;
532
stackDesiredSize = StackMeasureHelper(this,
_scrollData
, constraint);
700
StackArrangeHelper(this,
_scrollData
, arrangeSize);
783
if (
_scrollData
== null) { _scrollData = new ScrollData(); }
793
element.
_scrollData
.ClearLayout();
878
viewportOffset =
_scrollData
._computedOffset.Y;
885
viewportOffset =
_scrollData
._computedOffset.X;
925
firstChildInView = (int)
_scrollData
._computedOffset.X;
926
viewportSize = (int)
_scrollData
._viewport.Width;
930
firstChildInView = (int)
_scrollData
._computedOffset.Y;
931
viewportSize = (int)
_scrollData
._viewport.Height;
946
double viewportSpace =
_scrollData
._physicalViewport - nextChildSize;
1030
get { return (
_scrollData
!= null) && (
_scrollData
._scrollOwner != null); }