28 references to CacheAfterViewport
PresentationFramework (28)
System\Windows\Controls\VirtualizationCacheLength.cs (4)
101&& cl1.CacheAfterViewport == cl2.CacheAfterViewport); 114|| cl1.CacheAfterViewport != cl2.CacheAfterViewport);
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)
331DoubleUtil.GreaterThanOrClose(cacheLength.CacheAfterViewport, 0.0);
System\Windows\Controls\VirtualizingStackPanel.cs (21)
2696(!IsEndOfCache(isHorizontal, cacheSize.CacheAfterViewport, cacheUnit, stackPixelSizeInCacheAfterViewport, stackLogicalSizeInCacheAfterViewport) || 2795if (IsEndOfCache(isHorizontal, cacheSize.CacheAfterViewport, cacheUnit, stackPixelSizeInCacheAfterViewport, stackLogicalSizeInCacheAfterViewport)) 2809(MeasureCaches || (DoubleUtil.AreClose(cacheSize.CacheBeforeViewport, 0) && DoubleUtil.AreClose(cacheSize.CacheAfterViewport, 0)))) 4360DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport)) 4628DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport)) 4700cacheLength.CacheAfterViewport * factor); 4756pixelSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport * approxSizeOfLogicalUnit : cacheLength.CacheAfterViewport; 4758logicalSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport : cacheLength.CacheAfterViewport / approxSizeOfLogicalUnit; 4872pixelSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport * approxSizeOfLogicalUnit : cacheLength.CacheAfterViewport; 4874logicalSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport : cacheLength.CacheAfterViewport / approxSizeOfLogicalUnit; 5055double cacheAfterSize = cacheLength.CacheAfterViewport; 5289double cacheAfterSize = cacheLength.CacheAfterViewport; 5550foundFirstItemInViewport = DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport); 6747Math.Max(parentCacheSize.CacheAfterViewport - stackLogicalSizeInCacheAfterViewport.Width, 0.0)); 6758Math.Max(parentCacheSize.CacheAfterViewport - stackPixelSizeInCacheAfterViewport.Width, 0.0)); 6793Math.Max(parentCacheSize.CacheAfterViewport - stackLogicalSizeInCacheAfterViewport.Height, 0.0)); 6804Math.Max(parentCacheSize.CacheAfterViewport - stackPixelSizeInCacheAfterViewport.Height, 0.0));