18 instantiations of VirtualizationCacheLength
PresentationFramework (18)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (3)
106return new VirtualizationCacheLength(value); 206return new VirtualizationCacheLength(lengths[0]); 210return new VirtualizationCacheLength(lengths[0], lengths[1]);
System\Windows\Controls\VirtualizingPanel.cs (1)
187new FrameworkPropertyMetadata(new VirtualizationCacheLength(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport));
System\Windows\Controls\VirtualizingStackPanel.cs (14)
2199VirtualizationCacheLength cacheSize = new VirtualizationCacheLength(0.0); 2280ComputeFirstItemInViewportIndexAndOffset(items, itemCount, itemStorageProvider, extendedViewport, new VirtualizationCacheLength(0.0), 4476cacheSize = new VirtualizationCacheLength( 4690cacheLength = new VirtualizationCacheLength( 4696cacheLength = new VirtualizationCacheLength( 4709cacheLength = new VirtualizationCacheLength(0, 0); 5263cacheLength = new VirtualizationCacheLength(cacheBeforeSize, cacheAfterSize); 5507cacheLength = new VirtualizationCacheLength(cacheBeforeSize, cacheAfterSize); 6739childCacheSize = new VirtualizationCacheLength( 6750childCacheSize = new VirtualizationCacheLength( 6785childCacheSize = new VirtualizationCacheLength( 6796childCacheSize = new VirtualizationCacheLength( 8099VirtualizationCacheLength cacheSize = new VirtualizationCacheLength(); 8199VirtualizationCacheLength childCacheSize = new VirtualizationCacheLength(0.0);
41 references to VirtualizationCacheLength
PresentationFramework (41)
System\Windows\Controls\Primitives\HierarchicalVirtualizationConstraints.cs (3)
17public HierarchicalVirtualizationConstraints(VirtualizationCacheLength cacheLength, 34public VirtualizationCacheLength CacheLength 146VirtualizationCacheLength _cacheLength;
System\Windows\Controls\VirtualizationCacheLength.cs (7)
40public struct VirtualizationCacheLength : IEquatable<VirtualizationCacheLength> 98public static bool operator ==(VirtualizationCacheLength cl1, VirtualizationCacheLength cl2) 111public static bool operator !=(VirtualizationCacheLength cl1, VirtualizationCacheLength cl2) 125if (oCompare is VirtualizationCacheLength l) 139public bool Equals(VirtualizationCacheLength cacheLength)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (6)
134&& value is VirtualizationCacheLength) 136VirtualizationCacheLength gl = (VirtualizationCacheLength)value; 145ConstructorInfo ci = typeof(VirtualizationCacheLength).GetConstructor(new Type[] { typeof(double), typeof(VirtualizationCacheLengthUnit) }); 169static internal string ToString(VirtualizationCacheLength cacheLength, CultureInfo cultureInfo) 182static internal VirtualizationCacheLength FromString(string s, CultureInfo cultureInfo)
System\Windows\Controls\VirtualizingPanel.cs (6)
186DependencyProperty.RegisterAttached("CacheLength", typeof(VirtualizationCacheLength), typeof(VirtualizingPanel), 195public static VirtualizationCacheLength GetCacheLength(DependencyObject element) 199return (VirtualizationCacheLength)element.GetValue(CacheLengthProperty); 208public static void SetCacheLength(DependencyObject element, VirtualizationCacheLength value) 329VirtualizationCacheLength cacheLength = (VirtualizationCacheLength)value;
System\Windows\Controls\VirtualizingStackPanel.cs (19)
2199VirtualizationCacheLength cacheSize = new VirtualizationCacheLength(0.0); 3984VirtualizationCacheLength cacheLength = VirtualizingPanel.GetCacheLength(this); 4310ref VirtualizationCacheLength cacheSize, 4681ref VirtualizationCacheLength cacheLength, 4720VirtualizationCacheLength cacheLength, 5013ref VirtualizationCacheLength cacheLength, 5026ref VirtualizationCacheLength cacheLength, 5040ref VirtualizationCacheLength cacheLength, 5275ref VirtualizationCacheLength cacheLength, 5518VirtualizationCacheLength cacheSize, 6694VirtualizationCacheLength parentCacheSize, 6706ref VirtualizationCacheLength childCacheSize, 6874VirtualizationCacheLength childCacheSize, 6925VirtualizationCacheLength childItemsCacheSize = childCacheSize; 6969VirtualizationCacheLength childHeaderCacheSize = childCacheSize; 7053VirtualizationCacheLength childCacheSize, 8099VirtualizationCacheLength cacheSize = new VirtualizationCacheLength(); 8174ref VirtualizationCacheLength cacheSize, 8199VirtualizationCacheLength childCacheSize = new VirtualizationCacheLength(0.0);