6 writes to _extent
PresentationFramework (6)
System\Windows\Controls\VirtualizingStackPanel.cs (6)
10419
_scrollData.
_extent
= extentSize;
10922
_scrollData.
_extent
= extentSize;
11765
_viewport =
_extent
= _maxDesiredSize = new Size();
11847
_extent
= value;
12896
WriteSize(writer, ref _scrollData.
_extent
);
12994
s._scrollData.
_extent
= _scrollData._extent;
80 references to _extent
PresentationFramework (80)
System\Windows\Controls\VirtualizingStackPanel.cs (80)
570
_scrollData._offset.X = ScrollContentPresenter.CoerceOffset(scrollX, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
579
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
698
_scrollData._offset.Y = ScrollContentPresenter.CoerceOffset(scrollY, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
713
_scrollData._offset, _scrollData.
_extent
, _scrollData._computedOffset);
933
maxOffset = _scrollData.
_extent
.Width - _scrollData._viewport.Width;
938
maxOffset = _scrollData.
_extent
.Height - _scrollData._viewport.Height;
982
maxOffset = _scrollData.
_extent
.Width - _scrollData._viewport.Width;
1012
maxOffset = _scrollData.
_extent
.Height - _scrollData._viewport.Height;
1536
newOffset.X = ScrollContentPresenter.CoerceOffset(newOffset.X, _scrollData.
_extent
.Width, _scrollData._viewport.Width);
1537
newOffset.Y = ScrollContentPresenter.CoerceOffset(newOffset.Y, _scrollData.
_extent
.Height, _scrollData._viewport.Height);
1866
return _scrollData.
_extent
.Width;
1878
return _scrollData.
_extent
.Height;
3561
"ext:", IsScrolling ? _scrollData.
_extent
: Size.Empty,
3893
_scrollData.
_extent
.Width = distance;
3897
_scrollData.
_extent
.Height = distance;
3902
ScrollTracer.Trace(this, ScrollTraceOp.UpdateExtent, "ext:", _scrollData.
_extent
);
4333
extent = _scrollData.
_extent
;
4802
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width, _scrollData.
_extent
.Width))
4809
extendedViewport.Width = Math.Max(_scrollData.
_extent
.Width - extendedViewport.X, 0.0);
4842
if (DoubleUtil.GreaterThan(extendedViewport.X + extendedViewport.Width / approxSizeOfLogicalUnit, _scrollData.
_extent
.Width))
4849
extendedViewport.Width = Math.Max(_scrollData.
_extent
.Width - extendedViewport.X, 0.0) * approxSizeOfLogicalUnit;
4918
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height, _scrollData.
_extent
.Height))
4925
extendedViewport.Height = Math.Max(_scrollData.
_extent
.Height - extendedViewport.Y, 0.0);
4958
if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height / approxSizeOfLogicalUnit, _scrollData.
_extent
.Height))
4965
extendedViewport.Height = Math.Max(_scrollData.
_extent
.Height - extendedViewport.Y, 0.0) * approxSizeOfLogicalUnit;
9658
stackPixelSize.Height = _scrollData.
_extent
.Height;
9685
stackPixelSize.Width = _scrollData.
_extent
.Width;
9870
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
9876
extentWidthChanged = !DoubleUtil.AreClose(extentSize.Width, _scrollData.
_extent
.Width);
9877
extentHeightChanged = !DoubleUtil.AreClose(extentSize.Height, _scrollData.
_extent
.Height);
10054
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
10071
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10076
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10079
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10085
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
10088
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
10096
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
10122
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
10138
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10141
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10144
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10151
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10271
"ext:", _scrollData.
_extent
.Height, extentSize.Height,
10288
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10293
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10296
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10302
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10305
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
10312
"expRat:", _scrollData._offset.Y, _scrollData.
_extent
.Height, (_scrollData._offset.Y/_scrollData.
_extent
.Height),
10338
"ext:", _scrollData.
_extent
.Width, extentSize.Width,
10354
if (!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10357
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10360
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10367
"expRat:", _scrollData._offset.X, _scrollData.
_extent
.Width, (_scrollData._offset.X/_scrollData.
_extent
.Width),
10407
"ext:", _scrollData.
_extent
, extentSize,
10510
stackPixelSize.Height = _scrollData.
_extent
.Height;
10537
stackPixelSize.Width = _scrollData.
_extent
.Width;
10598
bool extentSizeChanged = !DoubleUtil.AreClose(extentSize, _scrollData.
_extent
);
10702
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Width, extentSize.Width))
10742
!DoubleUtil.AreClose(_scrollData.
_extent
.Width, 0) &&
10747
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.X/extentSize.Width, _scrollData._offset.X/_scrollData.
_extent
.Width))
10750
viewportOffset.X = (extentSize.Width * _scrollData._offset.X) / _scrollData.
_extent
.Width;
10756
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData.
_extent
.Width))
10759
viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData.
_extent
.Width);
10833
if (!remeasure && extentSizeChanged && !DoubleUtil.AreClose(_scrollData.
_extent
.Height, extentSize.Height))
10873
!DoubleUtil.AreClose(_scrollData.
_extent
.Height, 0) &&
10878
if (!LayoutDoubleUtil.AreClose(computedViewportOffset.Y/extentSize.Height, _scrollData._offset.Y/_scrollData.
_extent
.Height))
10881
viewportOffset.Y = (extentSize.Height * _scrollData._offset.Y) / _scrollData.
_extent
.Height;
10887
if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData.
_extent
.Height))
10890
viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData.
_extent
.Height);
11777
_extent
.Width == 0.0 &&
11778
_extent
.Height == 0.0 &&
11843
return
_extent
;
11872
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Width - _viewport.Width))
11888
if (DoubleUtil.GreaterThanOrClose(newOffset,
_extent
.Height - _viewport.Height))
12994
s._scrollData._extent = _scrollData.
_extent
;