1 write to _scrollData
PresentationFramework (1)
src\Framework\System\Windows\Controls\Stack.cs (1)
795
if (_scrollData == null) {
_scrollData
= new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
src\Framework\System\Windows\Controls\Stack.cs (46)
216
if (!DoubleUtil.AreClose(scrollX,
_scrollData
._offset.X))
218
_scrollData
._offset.X = scrollX;
230
if (!DoubleUtil.AreClose(scrollY,
_scrollData
._offset.Y))
232
_scrollData
._offset.Y = scrollY;
281
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X,
_scrollData
._extent.Width,
_scrollData
._viewport.Width);
282
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y,
_scrollData
._extent.Height,
_scrollData
._viewport.Height);
283
if (!DoubleUtil.AreClose(newOffset,
_scrollData
._offset))
285
_scrollData
._offset = newOffset;
360
if (
_scrollData
== null) { return false; }
361
return
_scrollData
._allowHorizontal;
366
if (
_scrollData
._allowHorizontal != value)
368
_scrollData
._allowHorizontal = value;
383
if (
_scrollData
== null) { return false; }
384
return
_scrollData
._allowVertical;
389
if (
_scrollData
._allowVertical != value)
391
_scrollData
._allowVertical = value;
404
if (
_scrollData
== null) { return 0.0; }
405
return
_scrollData
._extent.Width;
416
if (
_scrollData
== null) { return 0.0; }
417
return
_scrollData
._extent.Height;
428
if (
_scrollData
== null) { return 0.0; }
429
return
_scrollData
._viewport.Width;
440
if (
_scrollData
== null) { return 0.0; }
441
return
_scrollData
._viewport.Height;
453
if (
_scrollData
== null) { return 0.0; }
454
return
_scrollData
._computedOffset.X;
466
if (
_scrollData
== null) { return 0.0; }
467
return
_scrollData
._computedOffset.Y;
481
return
_scrollData
._scrollOwner;
486
if (value !=
_scrollData
._scrollOwner)
489
_scrollData
._scrollOwner = value;
544
stackDesiredSize = StackMeasureHelper(this,
_scrollData
, constraint);
712
StackArrangeHelper(this,
_scrollData
, arrangeSize);
795
if (
_scrollData
== null) { _scrollData = new ScrollData(); }
805
element.
_scrollData
.ClearLayout();
890
viewportOffset =
_scrollData
._computedOffset.Y;
897
viewportOffset =
_scrollData
._computedOffset.X;
937
firstChildInView = (int)
_scrollData
._computedOffset.X;
938
viewportSize = (int)
_scrollData
._viewport.Width;
942
firstChildInView = (int)
_scrollData
._computedOffset.Y;
943
viewportSize = (int)
_scrollData
._viewport.Height;
958
double viewportSpace =
_scrollData
._physicalViewport - nextChildSize;
1042
get { return (
_scrollData
!= null) && (
_scrollData
._scrollOwner != null); }