29 references to CacheBeforeViewport
PresentationFramework (29)
src\Framework\System\Windows\Controls\VirtualizationCacheLength.cs (4)
103
return (cl1.
CacheBeforeViewport
== cl2.
CacheBeforeViewport
116
return (cl1.
CacheBeforeViewport
!= cl2.
CacheBeforeViewport
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (2)
164
return (new InstanceDescriptor(ci, new object[] { gl.
CacheBeforeViewport
, gl.CacheAfterViewport }));
197
sb.Append(cacheLength.
CacheBeforeViewport
.ToString(cultureInfo));
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
382
return DoubleUtil.GreaterThanOrClose(cacheLength.
CacheBeforeViewport
, 0.0) &&
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (22)
2348
!IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport) ||
2366
if (IsViewportEmpty(isHorizontal, viewport) && DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0.0))
2632
if (IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport))
2762
(MeasureCaches || (DoubleUtil.AreClose(cacheSize.
CacheBeforeViewport
, 0) && DoubleUtil.AreClose(cacheSize.CacheAfterViewport, 0))))
4281
if (DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0) ||
4535
else if (DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0) ||
4607
cacheLength.
CacheBeforeViewport
* factor,
4663
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4665
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
4769
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4771
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
4942
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5176
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5424
if (DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0.0))
6611
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Width, 0.0),
6622
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Width, 0.0),
6657
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Height, 0.0),
6668
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Height, 0.0),