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)
2694(!IsEndOfCache(isHorizontal, cacheSize.CacheAfterViewport, cacheUnit, stackPixelSizeInCacheAfterViewport, stackLogicalSizeInCacheAfterViewport) || 2793if (IsEndOfCache(isHorizontal, cacheSize.CacheAfterViewport, cacheUnit, stackPixelSizeInCacheAfterViewport, stackLogicalSizeInCacheAfterViewport)) 2807(MeasureCaches || (DoubleUtil.AreClose(cacheSize.CacheBeforeViewport, 0) && DoubleUtil.AreClose(cacheSize.CacheAfterViewport, 0)))) 4358DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport)) 4626DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport)) 4698cacheLength.CacheAfterViewport * factor); 4754pixelSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport * approxSizeOfLogicalUnit : cacheLength.CacheAfterViewport; 4756logicalSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport : cacheLength.CacheAfterViewport / approxSizeOfLogicalUnit; 4870pixelSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport * approxSizeOfLogicalUnit : cacheLength.CacheAfterViewport; 4872logicalSizeAfterViewport = (cacheUnit == VirtualizationCacheLengthUnit.Item) ? cacheLength.CacheAfterViewport : cacheLength.CacheAfterViewport / approxSizeOfLogicalUnit; 5053double cacheAfterSize = cacheLength.CacheAfterViewport; 5287double cacheAfterSize = cacheLength.CacheAfterViewport; 5548foundFirstItemInViewport = DoubleUtil.GreaterThanZero(cacheSize.CacheAfterViewport); 6745Math.Max(parentCacheSize.CacheAfterViewport - stackLogicalSizeInCacheAfterViewport.Width, 0.0)); 6756Math.Max(parentCacheSize.CacheAfterViewport - stackPixelSizeInCacheAfterViewport.Width, 0.0)); 6791Math.Max(parentCacheSize.CacheAfterViewport - stackLogicalSizeInCacheAfterViewport.Height, 0.0)); 6802Math.Max(parentCacheSize.CacheAfterViewport - stackPixelSizeInCacheAfterViewport.Height, 0.0));