18 instantiations of VirtualizationCacheLength
PresentationFramework (18)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (3)
113
return new
VirtualizationCacheLength
(value);
213
return new
VirtualizationCacheLength
(lengths[0]);
217
return new
VirtualizationCacheLength
(lengths[0], lengths[1]);
System\Windows\Controls\VirtualizingPanel.cs (1)
193
new FrameworkPropertyMetadata(new
VirtualizationCacheLength
(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport));
System\Windows\Controls\VirtualizingStackPanel.cs (14)
2206
VirtualizationCacheLength cacheSize = new
VirtualizationCacheLength
(0.0);
2287
ComputeFirstItemInViewportIndexAndOffset(items, itemCount, itemStorageProvider, extendedViewport, new
VirtualizationCacheLength
(0.0),
4483
cacheSize = new
VirtualizationCacheLength
(
4697
cacheLength = new
VirtualizationCacheLength
(
4703
cacheLength = new
VirtualizationCacheLength
(
4716
cacheLength = new
VirtualizationCacheLength
(0, 0);
5270
cacheLength = new
VirtualizationCacheLength
(cacheBeforeSize, cacheAfterSize);
5514
cacheLength = new
VirtualizationCacheLength
(cacheBeforeSize, cacheAfterSize);
6746
childCacheSize = new
VirtualizationCacheLength
(
6757
childCacheSize = new
VirtualizationCacheLength
(
6792
childCacheSize = new
VirtualizationCacheLength
(
6803
childCacheSize = new
VirtualizationCacheLength
(
8104
VirtualizationCacheLength cacheSize = new
VirtualizationCacheLength
();
8204
VirtualizationCacheLength childCacheSize = new
VirtualizationCacheLength
(0.0);
43 references to VirtualizationCacheLength
PresentationFramework (43)
System\Windows\Controls\Primitives\HierarchicalVirtualizationConstraints.cs (3)
17
public HierarchicalVirtualizationConstraints(
VirtualizationCacheLength
cacheLength,
34
public
VirtualizationCacheLength
CacheLength
147
VirtualizationCacheLength
_cacheLength;
System\Windows\Controls\VirtualizationCacheLength.cs (9)
41
public struct VirtualizationCacheLength : IEquatable<
VirtualizationCacheLength
>
99
public static bool operator ==(
VirtualizationCacheLength
cl1,
VirtualizationCacheLength
cl2)
112
public static bool operator !=(
VirtualizationCacheLength
cl1,
VirtualizationCacheLength
cl2)
126
if (oCompare is
VirtualizationCacheLength
)
128
VirtualizationCacheLength
l = (
VirtualizationCacheLength
)oCompare;
141
public bool Equals(
VirtualizationCacheLength
cacheLength)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (6)
141
&& value is
VirtualizationCacheLength
)
143
VirtualizationCacheLength
gl = (
VirtualizationCacheLength
)value;
152
ConstructorInfo ci = typeof(
VirtualizationCacheLength
).GetConstructor(new Type[] { typeof(double), typeof(VirtualizationCacheLengthUnit) });
176
static internal string ToString(
VirtualizationCacheLength
cacheLength, CultureInfo cultureInfo)
189
static internal
VirtualizationCacheLength
FromString(string s, CultureInfo cultureInfo)
System\Windows\Controls\VirtualizingPanel.cs (6)
192
DependencyProperty.RegisterAttached("CacheLength", typeof(
VirtualizationCacheLength
), typeof(VirtualizingPanel),
201
public static
VirtualizationCacheLength
GetCacheLength(DependencyObject element)
205
return (
VirtualizationCacheLength
)element.GetValue(CacheLengthProperty);
214
public static void SetCacheLength(DependencyObject element,
VirtualizationCacheLength
value)
335
VirtualizationCacheLength
cacheLength = (
VirtualizationCacheLength
)value;
System\Windows\Controls\VirtualizingStackPanel.cs (19)
2206
VirtualizationCacheLength
cacheSize = new VirtualizationCacheLength(0.0);
3991
VirtualizationCacheLength
cacheLength = VirtualizingPanel.GetCacheLength(this);
4317
ref
VirtualizationCacheLength
cacheSize,
4688
ref
VirtualizationCacheLength
cacheLength,
4727
VirtualizationCacheLength
cacheLength,
5020
ref
VirtualizationCacheLength
cacheLength,
5033
ref
VirtualizationCacheLength
cacheLength,
5047
ref
VirtualizationCacheLength
cacheLength,
5282
ref
VirtualizationCacheLength
cacheLength,
5525
VirtualizationCacheLength
cacheSize,
6701
VirtualizationCacheLength
parentCacheSize,
6713
ref
VirtualizationCacheLength
childCacheSize,
6879
VirtualizationCacheLength
childCacheSize,
6930
VirtualizationCacheLength
childItemsCacheSize = childCacheSize;
6974
VirtualizationCacheLength
childHeaderCacheSize = childCacheSize;
7058
VirtualizationCacheLength
childCacheSize,
8104
VirtualizationCacheLength
cacheSize = new VirtualizationCacheLength();
8179
ref
VirtualizationCacheLength
cacheSize,
8204
VirtualizationCacheLength
childCacheSize = new VirtualizationCacheLength(0.0);