1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
789
if (_scrollData == null) {
_scrollData
= new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
System\Windows\Controls\Stack.cs (46)
210
if (!DoubleUtil.AreClose(scrollX,
_scrollData
._offset.X))
212
_scrollData
._offset.X = scrollX;
224
if (!DoubleUtil.AreClose(scrollY,
_scrollData
._offset.Y))
226
_scrollData
._offset.Y = scrollY;
275
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X,
_scrollData
._extent.Width,
_scrollData
._viewport.Width);
276
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y,
_scrollData
._extent.Height,
_scrollData
._viewport.Height);
277
if (!DoubleUtil.AreClose(newOffset,
_scrollData
._offset))
279
_scrollData
._offset = newOffset;
354
if (
_scrollData
== null) { return false; }
355
return
_scrollData
._allowHorizontal;
360
if (
_scrollData
._allowHorizontal != value)
362
_scrollData
._allowHorizontal = value;
377
if (
_scrollData
== null) { return false; }
378
return
_scrollData
._allowVertical;
383
if (
_scrollData
._allowVertical != value)
385
_scrollData
._allowVertical = value;
398
if (
_scrollData
== null) { return 0.0; }
399
return
_scrollData
._extent.Width;
410
if (
_scrollData
== null) { return 0.0; }
411
return
_scrollData
._extent.Height;
422
if (
_scrollData
== null) { return 0.0; }
423
return
_scrollData
._viewport.Width;
434
if (
_scrollData
== null) { return 0.0; }
435
return
_scrollData
._viewport.Height;
447
if (
_scrollData
== null) { return 0.0; }
448
return
_scrollData
._computedOffset.X;
460
if (
_scrollData
== null) { return 0.0; }
461
return
_scrollData
._computedOffset.Y;
475
return
_scrollData
._scrollOwner;
480
if (value !=
_scrollData
._scrollOwner)
483
_scrollData
._scrollOwner = value;
538
stackDesiredSize = StackMeasureHelper(this,
_scrollData
, constraint);
706
StackArrangeHelper(this,
_scrollData
, arrangeSize);
789
if (
_scrollData
== null) { _scrollData = new ScrollData(); }
799
element.
_scrollData
.ClearLayout();
884
viewportOffset =
_scrollData
._computedOffset.Y;
891
viewportOffset =
_scrollData
._computedOffset.X;
931
firstChildInView = (int)
_scrollData
._computedOffset.X;
932
viewportSize = (int)
_scrollData
._viewport.Width;
936
firstChildInView = (int)
_scrollData
._computedOffset.Y;
937
viewportSize = (int)
_scrollData
._viewport.Height;
952
double viewportSpace =
_scrollData
._physicalViewport - nextChildSize;
1036
get { return (
_scrollData
!= null) && (
_scrollData
._scrollOwner != null); }