1 write to _scrollData
PresentationFramework (1)
src\Framework\System\Windows\Controls\Stack.cs (1)
795if (_scrollData == null) { _scrollData = new ScrollData(); }
46 references to _scrollData
PresentationFramework (46)
src\Framework\System\Windows\Controls\Stack.cs (46)
216if (!DoubleUtil.AreClose(scrollX, _scrollData._offset.X)) 218_scrollData._offset.X = scrollX; 230if (!DoubleUtil.AreClose(scrollY, _scrollData._offset.Y)) 232_scrollData._offset.Y = scrollY; 281newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData._extent.Width, _scrollData._viewport.Width); 282newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData._extent.Height, _scrollData._viewport.Height); 283if (!DoubleUtil.AreClose(newOffset, _scrollData._offset)) 285_scrollData._offset = newOffset; 360if (_scrollData == null) { return false; } 361return _scrollData._allowHorizontal; 366if (_scrollData._allowHorizontal != value) 368_scrollData._allowHorizontal = value; 383if (_scrollData == null) { return false; } 384return _scrollData._allowVertical; 389if (_scrollData._allowVertical != value) 391_scrollData._allowVertical = value; 404if (_scrollData == null) { return 0.0; } 405return _scrollData._extent.Width; 416if (_scrollData == null) { return 0.0; } 417return _scrollData._extent.Height; 428if (_scrollData == null) { return 0.0; } 429return _scrollData._viewport.Width; 440if (_scrollData == null) { return 0.0; } 441return _scrollData._viewport.Height; 453if (_scrollData == null) { return 0.0; } 454return _scrollData._computedOffset.X; 466if (_scrollData == null) { return 0.0; } 467return _scrollData._computedOffset.Y; 481return _scrollData._scrollOwner; 486if (value != _scrollData._scrollOwner) 489_scrollData._scrollOwner = value; 544stackDesiredSize = StackMeasureHelper(this, _scrollData, constraint); 712StackArrangeHelper(this, _scrollData, arrangeSize); 795if (_scrollData == null) { _scrollData = new ScrollData(); } 805element._scrollData.ClearLayout(); 890viewportOffset = _scrollData._computedOffset.Y; 897viewportOffset = _scrollData._computedOffset.X; 937firstChildInView = (int)_scrollData._computedOffset.X; 938viewportSize = (int)_scrollData._viewport.Width; 942firstChildInView = (int)_scrollData._computedOffset.Y; 943viewportSize = (int)_scrollData._viewport.Height; 958double viewportSpace = _scrollData._physicalViewport - nextChildSize; 1042get { return (_scrollData != null) && (_scrollData._scrollOwner != null); }