1 write to _scrollData
PresentationFramework (1)
System\Windows\Controls\Stack.cs (1)
789if (_scrollData == null) { _scrollData = new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
System\Windows\Controls\Stack.cs (46)
210if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 212_scrollData._offset.X = scrollX; 224if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 226_scrollData._offset.Y = scrollY; 275newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 276newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 277if (!DoubleUtil.AreClose(newOffset, _scrollData._offset)) 279_scrollData._offset = newOffset; 354if (_scrollData == null) { return false; } 355return _scrollData._allowHorizontal; 360if (_scrollData._allowHorizontal != value) 362_scrollData._allowHorizontal = value; 377if (_scrollData == null) { return false; } 378return _scrollData._allowVertical; 383if (_scrollData._allowVertical != value) 385_scrollData._allowVertical = value; 398if (_scrollData == null) { return 0.0; } 399return _scrollData._extent.Width; 410if (_scrollData == null) { return 0.0; } 411return _scrollData._extent.Height; 422if (_scrollData == null) { return 0.0; } 423return _scrollData._viewport.Width; 434if (_scrollData == null) { return 0.0; } 435return _scrollData._viewport.Height; 447if (_scrollData == null) { return 0.0; } 448return _scrollData._computedOffset.X; 460if (_scrollData == null) { return 0.0; } 461return _scrollData._computedOffset.Y; 475return _scrollData._scrollOwner; 480if (value != _scrollData._scrollOwner) 483_scrollData._scrollOwner = value; 538stackDesiredSize = StackMeasureHelper(this, _scrollData, constraint); 706StackArrangeHelper(this, _scrollData, arrangeSize); 789if (_scrollData == null) { _scrollData = new ScrollData(); } 799element._scrollData.ClearLayout(); 884viewportOffset = _scrollData._computedOffset.Y; 891viewportOffset = _scrollData._computedOffset.X; 931firstChildInView = (int)_scrollData._computedOffset.X; 932viewportSize = (int)_scrollData._viewport.Width; 936firstChildInView = (int)_scrollData._computedOffset.Y; 937viewportSize = (int)_scrollData._viewport.Height; 952double viewportSpace = _scrollData._physicalViewport - nextChildSize; 1036get { return (_scrollData != null) && (_scrollData._scrollOwner != null); }