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