6 writes to _extent
PresentationFramework (6)
System\Windows\Controls\VirtualizingStackPanel.cs (6)
10424
_scrollData.
_extent
= extentSize;
10927
_scrollData.
_extent
= extentSize;
11770
_viewport =
_extent
= _maxDesiredSize = new Size();
11852
_extent
= value;
12901
WriteSize(writer, ref _scrollData.
_extent
);
12999
s._scrollData.
_extent
= _scrollData._extent;
80 references to _extent
PresentationFramework (80)
System\Windows\Controls\VirtualizingStackPanel.cs (80)
575
_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
584
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
703
_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
718
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
938
maxOffset = _scrollData.
_extent
.Width - _scrollData._viewport.Width;
943
maxOffset = _scrollData.
_extent
.Height - _scrollData._viewport.Height;
987
maxOffset = _scrollData.
_extent
.Width - _scrollData._viewport.Width;
1017
maxOffset = _scrollData.
_extent
.Height - _scrollData._viewport.Height;
1541
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
1542
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
1871
return _scrollData.
_extent
.Width;
1883
return _scrollData.
_extent
.Height;
3566
"ext:", IsScrolling ? _scrollData.
_extent
: Size.Empty,
3898
_scrollData.
_extent
.Width = distance;
3902
_scrollData.
_extent
.Height = distance;
3907
ScrollTracer.Trace(this, ScrollTraceOp.UpdateExtent, "ext:", _scrollData.
_extent
);
4338
extent = _scrollData.
_extent
;
4807
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width, _scrollData.
_extent
.Width))
4814
extendedViewport.Width = Math.Max(_scrollData.
_extent
.Width - extendedViewport.X, 0.0);
4847
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width / approxSizeOfLogicalUnit, _scrollData.
_extent
.Width))
4854
extendedViewport.Width = Math.Max(_scrollData.
_extent
.Width - extendedViewport.X, 0.0) * approxSizeOfLogicalUnit;
4923
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height, _scrollData.
_extent
.Height))
4930
extendedViewport.Height = Math.Max(_scrollData.
_extent
.Height - extendedViewport.Y, 0.0);
4963
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height / approxSizeOfLogicalUnit, _scrollData.
_extent
.Height))
4970
extendedViewport.Height = Math.Max(_scrollData.
_extent
.Height - extendedViewport.Y, 0.0) * approxSizeOfLogicalUnit;
9663
stackPixelSize.Height = _scrollData.
_extent
.Height;
9690
stackPixelSize.Width = _scrollData.
_extent
.Width;
9875
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
9881
extentWidthChanged = !DoubleUtil.AreClose(extentSize.Width, _scrollData.
_extent
.Width);
9882
extentHeightChanged = !DoubleUtil.AreClose(extentSize.Height, _scrollData.
_extent
.Height);
10059
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
10076
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10081
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10084
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10090
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
10093
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
10101
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
10127
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
10143
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10146
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10149
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10156
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10276
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
10293
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10298
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10301
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10307
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10310
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
10317
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10343
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
10359
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10362
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10365
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10372
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
10412
"ext:", _scrollData.
_extent
, extentSize,
10515
stackPixelSize.Height = _scrollData.
_extent
.Height;
10542
stackPixelSize.Width = _scrollData.
_extent
.Width;
10603
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
10707
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Width, extentSize.Width))
10747
!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10752
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10755
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10761
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
10764
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
10838
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Height, extentSize.Height))
10878
!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10883
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10886
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10892
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10895
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
11782
_extent
.Width == 0.0 &&
11783
_extent
.Height == 0.0 &&
11848
return
_extent
;
11877
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Width - _viewport.Width))
11893
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Height - _viewport.Height))
12999
s._scrollData._extent = _scrollData.
_extent
;