29 references to CacheBeforeViewport
PresentationFramework (29)
System\Windows\Controls\VirtualizationCacheLength.cs (4)
100
return (cl1.
CacheBeforeViewport
== cl2.
CacheBeforeViewport
113
return (cl1.
CacheBeforeViewport
!= cl2.
CacheBeforeViewport
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (2)
146
return (new InstanceDescriptor(ci, new object[] { gl.
CacheBeforeViewport
, gl.CacheAfterViewport }));
174
$"{cacheLength.
CacheBeforeViewport
}{listSeparator}{cacheLength.CacheAfterViewport}");
System\Windows\Controls\VirtualizingPanel.cs (1)
330
return DoubleUtil.GreaterThanOrClose(cacheLength.
CacheBeforeViewport
, 0.0) &&
System\Windows\Controls\VirtualizingStackPanel.cs (22)
2393
!IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport) ||
2411
if (IsViewportEmpty(isHorizontal, viewport) && DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0.0))
2679
if (IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport))
2809
(MeasureCaches || (DoubleUtil.AreClose(cacheSize.
CacheBeforeViewport
, 0) && DoubleUtil.AreClose(cacheSize.CacheAfterViewport, 0))))
4359
if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
) ||
4627
else if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
) ||
4699
cacheLength.
CacheBeforeViewport
* factor,
4755
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4757
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
4871
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4873
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
5054
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5288
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5536
if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
))
6744
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Width, 0.0),
6755
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Width, 0.0),
6790
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Height, 0.0),
6801
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Height, 0.0),