18 instantiations of VirtualizationCacheLength
PresentationFramework (18)
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (3)
115
return new
VirtualizationCacheLength
(value);
232
return new
VirtualizationCacheLength
(lengths[0]);
236
return new
VirtualizationCacheLength
(lengths[0], lengths[1]);
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
218
new FrameworkPropertyMetadata(new
VirtualizationCacheLength
(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (14)
2156
VirtualizationCacheLength cacheSize = new
VirtualizationCacheLength
(0.0);
2237
ComputeFirstItemInViewportIndexAndOffset(items, itemCount, itemStorageProvider, extendedViewport, new
VirtualizationCacheLength
(0.0),
4400
cacheSize = new
VirtualizationCacheLength
(
4600
cacheLength = new
VirtualizationCacheLength
(
4606
cacheLength = new
VirtualizationCacheLength
(
4619
cacheLength = new
VirtualizationCacheLength
(0, 0);
5153
cacheLength = new
VirtualizationCacheLength
(cacheBeforeSize, cacheAfterSize);
5397
cacheLength = new
VirtualizationCacheLength
(cacheBeforeSize, cacheAfterSize);
6608
childCacheSize = new
VirtualizationCacheLength
(
6619
childCacheSize = new
VirtualizationCacheLength
(
6654
childCacheSize = new
VirtualizationCacheLength
(
6665
childCacheSize = new
VirtualizationCacheLength
(
7949
VirtualizationCacheLength cacheSize = new
VirtualizationCacheLength
();
8047
VirtualizationCacheLength childCacheSize = new
VirtualizationCacheLength
(0.0);
43 references to VirtualizationCacheLength
PresentationFramework (43)
src\Framework\System\Windows\Controls\Primitives\HierarchicalVirtualizationConstraints.cs (3)
19
public HierarchicalVirtualizationConstraints(
VirtualizationCacheLength
cacheLength,
35
public
VirtualizationCacheLength
CacheLength
138
VirtualizationCacheLength
_cacheLength;
src\Framework\System\Windows\Controls\VirtualizationCacheLength.cs (9)
43
public struct VirtualizationCacheLength : IEquatable<
VirtualizationCacheLength
>
101
public static bool operator ==(
VirtualizationCacheLength
cl1,
VirtualizationCacheLength
cl2)
114
public static bool operator !=(
VirtualizationCacheLength
cl1,
VirtualizationCacheLength
cl2)
128
if (oCompare is
VirtualizationCacheLength
)
130
VirtualizationCacheLength
l = (
VirtualizationCacheLength
)oCompare;
143
public bool Equals(
VirtualizationCacheLength
cacheLength)
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (6)
152
&& value is
VirtualizationCacheLength
)
154
VirtualizationCacheLength
gl = (
VirtualizationCacheLength
)value;
163
ConstructorInfo ci = typeof(
VirtualizationCacheLength
).GetConstructor(new Type[] { typeof(double), typeof(VirtualizationCacheLengthUnit) });
187
static internal string ToString(
VirtualizationCacheLength
cacheLength, CultureInfo cultureInfo)
208
static internal
VirtualizationCacheLength
FromString(string s, CultureInfo cultureInfo)
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (6)
217
DependencyProperty.RegisterAttached("CacheLength", typeof(
VirtualizationCacheLength
), typeof(VirtualizingPanel),
226
public static
VirtualizationCacheLength
GetCacheLength(DependencyObject element)
233
return (
VirtualizationCacheLength
)element.GetValue(CacheLengthProperty);
242
public static void SetCacheLength(DependencyObject element,
VirtualizationCacheLength
value)
381
VirtualizationCacheLength
cacheLength = (
VirtualizationCacheLength
)value;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (19)
2156
VirtualizationCacheLength
cacheSize = new VirtualizationCacheLength(0.0);
3909
VirtualizationCacheLength
cacheLength = VirtualizingPanel.GetCacheLength(this);
4235
ref
VirtualizationCacheLength
cacheSize,
4591
ref
VirtualizationCacheLength
cacheLength,
4630
VirtualizationCacheLength
cacheLength,
4903
ref
VirtualizationCacheLength
cacheLength,
4916
ref
VirtualizationCacheLength
cacheLength,
4930
ref
VirtualizationCacheLength
cacheLength,
5165
ref
VirtualizationCacheLength
cacheLength,
5408
VirtualizationCacheLength
cacheSize,
6564
VirtualizationCacheLength
parentCacheSize,
6575
ref
VirtualizationCacheLength
childCacheSize,
6739
VirtualizationCacheLength
childCacheSize,
6790
VirtualizationCacheLength
childItemsCacheSize = childCacheSize;
6834
VirtualizationCacheLength
childHeaderCacheSize = childCacheSize;
6918
VirtualizationCacheLength
childCacheSize,
7949
VirtualizationCacheLength
cacheSize = new VirtualizationCacheLength();
8023
ref
VirtualizationCacheLength
cacheSize,
8047
VirtualizationCacheLength
childCacheSize = new VirtualizationCacheLength(0.0);