6 writes to _extent
PresentationFramework (6)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (6)
10274
_scrollData.
_extent
= extentSize;
10777
_scrollData.
_extent
= extentSize;
11632
_viewport =
_extent
= _maxDesiredSize = new Size();
11711
_extent
= value;
12734
WriteSize(writer, ref _scrollData.
_extent
);
12833
s._scrollData.
_extent
= _scrollData._extent;
80 references to _extent
PresentationFramework (80)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (80)
574
_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
583
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
700
_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
715
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
934
_scrollData.
_extent
.Width - _scrollData._viewport.Width);
939
_scrollData.
_extent
.Height - _scrollData._viewport.Height);
982
if (DoubleUtil.LessThan(expectedOffset, 0) || DoubleUtil.GreaterThan(expectedOffset, _scrollData.
_extent
.Width - _scrollData._viewport.Width))
984
Debug.Assert(DoubleUtil.AreClose(actualOffset, 0) || DoubleUtil.AreClose(actualOffset, _scrollData.
_extent
.Width - _scrollData._viewport.Width), "The actual offset should already be at the beginning or the end.");
1001
if (DoubleUtil.LessThan(expectedOffset, 0) || DoubleUtil.GreaterThan(expectedOffset, _scrollData.
_extent
.Height - _scrollData._viewport.Height))
1003
Debug.Assert(DoubleUtil.AreClose(actualOffset, 0) || DoubleUtil.AreClose(actualOffset, _scrollData.
_extent
.Height - _scrollData._viewport.Height), "The actual offset should already be at the beginning or the end.");
1492
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
1493
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
1822
return _scrollData.
_extent
.Width;
1834
return _scrollData.
_extent
.Height;
3831
_scrollData.
_extent
.Width = distance;
3835
_scrollData.
_extent
.Height = distance;
4256
extent = _scrollData.
_extent
;
4710
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width, _scrollData.
_extent
.Width))
4712
extendedViewport.Width = _scrollData.
_extent
.Width - extendedViewport.X;
4745
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width / approxSizeOfLogicalUnit, _scrollData.
_extent
.Width))
4747
extendedViewport.Width = (_scrollData.
_extent
.Width - extendedViewport.X) * approxSizeOfLogicalUnit;
4816
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height, _scrollData.
_extent
.Height))
4818
extendedViewport.Height = _scrollData.
_extent
.Height - extendedViewport.Y;
4851
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height / approxSizeOfLogicalUnit, _scrollData.
_extent
.Height))
4853
extendedViewport.Height = (_scrollData.
_extent
.Height - extendedViewport.Y) * approxSizeOfLogicalUnit;
9513
stackPixelSize.Height = _scrollData.
_extent
.Height;
9540
stackPixelSize.Width = _scrollData.
_extent
.Width;
9725
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
9731
extentWidthChanged = !DoubleUtil.AreClose(extentSize.Width, _scrollData.
_extent
.Width);
9732
extentHeightChanged = !DoubleUtil.AreClose(extentSize.Height, _scrollData.
_extent
.Height);
9909
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
9926
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
9931
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
9934
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
9940
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
9943
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
9951
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
9977
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
9993
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
9996
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
9999
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10006
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10126
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
10143
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10148
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10151
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10157
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10160
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
10167
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10193
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
10209
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10212
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10215
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10222
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
10262
"ext:", _scrollData.
_extent
, extentSize,
10365
stackPixelSize.Height = _scrollData.
_extent
.Height;
10392
stackPixelSize.Width = _scrollData.
_extent
.Width;
10453
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
10557
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Width, extentSize.Width))
10597
!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10602
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10605
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10611
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
10614
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
10688
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Height, extentSize.Height))
10728
!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10733
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10736
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10742
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10745
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
11644
_extent
.Width == 0.0 &&
11645
_extent
.Height == 0.0 &&
11707
return
_extent
;
11736
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Width - _viewport.Width))
11752
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Height - _viewport.Height))
12833
s._scrollData._extent = _scrollData.
_extent
;