1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
783if (_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; 269newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 270newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 271if (!DoubleUtil.AreClose(newOffset, _scrollData._offset)) 273_scrollData._offset = newOffset; 348if (_scrollData == null) { return false; } 349return _scrollData._allowHorizontal; 354if (_scrollData._allowHorizontal != value) 356_scrollData._allowHorizontal = value; 371if (_scrollData == null) { return false; } 372return _scrollData._allowVertical; 377if (_scrollData._allowVertical != value) 379_scrollData._allowVertical = value; 392if (_scrollData == null) { return 0.0; } 393return _scrollData._extent.Width; 404if (_scrollData == null) { return 0.0; } 405return _scrollData._extent.Height; 416if (_scrollData == null) { return 0.0; } 417return _scrollData._viewport.Width; 428if (_scrollData == null) { return 0.0; } 429return _scrollData._viewport.Height; 441if (_scrollData == null) { return 0.0; } 442return _scrollData._computedOffset.X; 454if (_scrollData == null) { return 0.0; } 455return _scrollData._computedOffset.Y; 469return _scrollData._scrollOwner; 474if (value != _scrollData._scrollOwner) 477_scrollData._scrollOwner = value; 532stackDesiredSize = StackMeasureHelper(this, _scrollData, constraint); 700StackArrangeHelper(this, _scrollData, arrangeSize); 783if (_scrollData == null) { _scrollData = new ScrollData(); } 793element._scrollData.ClearLayout(); 878viewportOffset = _scrollData._computedOffset.Y; 885viewportOffset = _scrollData._computedOffset.X; 925firstChildInView = (int)_scrollData._computedOffset.X; 926viewportSize = (int)_scrollData._viewport.Width; 930firstChildInView = (int)_scrollData._computedOffset.Y; 931viewportSize = (int)_scrollData._viewport.Height; 946double viewportSpace = _scrollData._physicalViewport - nextChildSize; 1030get { return (_scrollData != null) && (_scrollData._scrollOwner != null); }