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