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)
2391
!IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport) ||
2409
if (IsViewportEmpty(isHorizontal, viewport) && DoubleUtil.GreaterThan(cacheSize.
CacheBeforeViewport
, 0.0))
2677
if (IsEndOfCache(isHorizontal, cacheSize.
CacheBeforeViewport
, cacheUnit, stackPixelSizeInCacheBeforeViewport, stackLogicalSizeInCacheBeforeViewport))
2807
(MeasureCaches || (DoubleUtil.AreClose(cacheSize.
CacheBeforeViewport
, 0) && DoubleUtil.AreClose(cacheSize.CacheAfterViewport, 0))))
4357
if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
) ||
4625
else if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
) ||
4697
cacheLength.
CacheBeforeViewport
* factor,
4753
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4755
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
4869
pixelSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
* approxSizeOfLogicalUnit : cacheLength.
CacheBeforeViewport
;
4871
logicalSizeBeforeViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.
CacheBeforeViewport
: cacheLength.
CacheBeforeViewport
/ approxSizeOfLogicalUnit;
5052
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5286
double cacheBeforeSize = cacheLength.
CacheBeforeViewport
;
5534
if (DoubleUtil.GreaterThanZero(cacheSize.
CacheBeforeViewport
))
6742
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Width, 0.0),
6753
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Width, 0.0),
6788
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackLogicalSizeInCacheBeforeViewport.Height, 0.0),
6799
Math.Max(parentCacheSize.
CacheBeforeViewport
- stackPixelSizeInCacheBeforeViewport.Height, 0.0),