1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
779
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;
265
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X,
_scrollData
._extent.Width,
_scrollData
._viewport.Width);
266
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y,
_scrollData
._extent.Height,
_scrollData
._viewport.Height);
267
if (!DoubleUtil.AreClose(newOffset,
_scrollData
._offset))
269
_scrollData
._offset = newOffset;
344
if (
_scrollData
== null) { return false; }
345
return
_scrollData
._allowHorizontal;
350
if (
_scrollData
._allowHorizontal != value)
352
_scrollData
._allowHorizontal = value;
367
if (
_scrollData
== null) { return false; }
368
return
_scrollData
._allowVertical;
373
if (
_scrollData
._allowVertical != value)
375
_scrollData
._allowVertical = value;
388
if (
_scrollData
== null) { return 0.0; }
389
return
_scrollData
._extent.Width;
400
if (
_scrollData
== null) { return 0.0; }
401
return
_scrollData
._extent.Height;
412
if (
_scrollData
== null) { return 0.0; }
413
return
_scrollData
._viewport.Width;
424
if (
_scrollData
== null) { return 0.0; }
425
return
_scrollData
._viewport.Height;
437
if (
_scrollData
== null) { return 0.0; }
438
return
_scrollData
._computedOffset.X;
450
if (
_scrollData
== null) { return 0.0; }
451
return
_scrollData
._computedOffset.Y;
465
return
_scrollData
._scrollOwner;
470
if (value !=
_scrollData
._scrollOwner)
473
_scrollData
._scrollOwner = value;
528
stackDesiredSize = StackMeasureHelper(this,
_scrollData
, constraint);
696
StackArrangeHelper(this,
_scrollData
, arrangeSize);
779
if (
_scrollData
== null) { _scrollData = new ScrollData(); }
789
element.
_scrollData
.ClearLayout();
874
viewportOffset =
_scrollData
._computedOffset.Y;
881
viewportOffset =
_scrollData
._computedOffset.X;
921
firstChildInView = (int)
_scrollData
._computedOffset.X;
922
viewportSize = (int)
_scrollData
._viewport.Width;
926
firstChildInView = (int)
_scrollData
._computedOffset.Y;
927
viewportSize = (int)
_scrollData
._viewport.Height;
942
double viewportSpace =
_scrollData
._physicalViewport - nextChildSize;
1026
get { return (
_scrollData
!= null) && (
_scrollData
._scrollOwner != null); }