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