1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
778if (_scrollData == null) { _scrollData = new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
System\Windows\Controls\Stack.cs (46)
203if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 205_scrollData._offset.X = scrollX; 217if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 219_scrollData._offset.Y = scrollY; 264newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 265newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 266if (!DoubleUtil.AreClose(newOffset, _scrollData._offset)) 268_scrollData._offset = newOffset; 343if (_scrollData == null) { return false; } 344return _scrollData._allowHorizontal; 349if (_scrollData._allowHorizontal != value) 351_scrollData._allowHorizontal = value; 366if (_scrollData == null) { return false; } 367return _scrollData._allowVertical; 372if (_scrollData._allowVertical != value) 374_scrollData._allowVertical = value; 387if (_scrollData == null) { return 0.0; } 388return _scrollData._extent.Width; 399if (_scrollData == null) { return 0.0; } 400return _scrollData._extent.Height; 411if (_scrollData == null) { return 0.0; } 412return _scrollData._viewport.Width; 423if (_scrollData == null) { return 0.0; } 424return _scrollData._viewport.Height; 436if (_scrollData == null) { return 0.0; } 437return _scrollData._computedOffset.X; 449if (_scrollData == null) { return 0.0; } 450return _scrollData._computedOffset.Y; 464return _scrollData._scrollOwner; 469if (value != _scrollData._scrollOwner) 472_scrollData._scrollOwner = value; 527stackDesiredSize = StackMeasureHelper(this, _scrollData, constraint); 695StackArrangeHelper(this, _scrollData, arrangeSize); 778if (_scrollData == null) { _scrollData = new ScrollData(); } 788element._scrollData.ClearLayout(); 873viewportOffset = _scrollData._computedOffset.Y; 880viewportOffset = _scrollData._computedOffset.X; 920firstChildInView = (int)_scrollData._computedOffset.X; 921viewportSize = (int)_scrollData._viewport.Width; 925firstChildInView = (int)_scrollData._computedOffset.Y; 926viewportSize = (int)_scrollData._viewport.Height; 941double viewportSpace = _scrollData._physicalViewport - nextChildSize; 1025get { return (_scrollData != null) && (_scrollData._scrollOwner != null); }