78 references to BitmapCacheOption
PresentationCore (77)
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (3)
126
BitmapCacheOption
.Default,
154
BitmapCacheOption
.Default
165
BitmapCacheOption
.Default
Core\CSharp\System\Windows\Media\ImageSourceValueSerializer.cs (1)
62
BitmapCacheOption
.Default,
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (12)
87
BitmapCacheOption
cacheOption,
151
BitmapCacheOption
cacheOption,
208
BitmapCacheOption
cacheOption,
289
BitmapCacheOption
cacheOption,
509
BitmapCacheOption
cacheOption
526
BitmapCacheOption
cacheOption,
556
BitmapCacheOption
cacheOption
1148
BitmapCacheOption
cacheOption,
1288
if (cacheOption ==
BitmapCacheOption
.OnLoad)
1677
else if ((_createOptions & BitmapCreateOptions.DelayCreation) == 0 && _cacheOption ==
BitmapCacheOption
.OnLoad)
1741
if (i > 0 && _cacheOption !=
BitmapCacheOption
.OnLoad)
1967
internal
BitmapCacheOption
_cacheOption;
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (6)
68
BitmapCacheOption
cacheOption,
146
BitmapCacheOption
.Default,
161
BitmapCacheOption
cacheOption
178
BitmapCacheOption
cacheOption,
216
BitmapCacheOption
.Default,
231
BitmapCacheOption
cacheOption
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (5)
49
BitmapCacheOption
cacheOption,
88
BitmapCacheOption
cacheOption,
137
BitmapCacheOption
cacheOption,
525
IsSourceCached = (_cacheOption !=
BitmapCacheOption
.None);
814
private
BitmapCacheOption
_cacheOption;
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (8)
104
if (UriSource != null && !UriSource.IsAbsoluteUri && CacheOption !=
BitmapCacheOption
.OnLoad)
188
CacheOption ==
BitmapCacheOption
.Default &&
371
BitmapCacheOption
.None, // do not cache the frames since we will do that here
613
if (CacheOption !=
BitmapCacheOption
.None)
635
if (decoder != null && CacheOption ==
BitmapCacheOption
.OnLoad)
639
else if (CacheOption !=
BitmapCacheOption
.OnLoad)
725
_cacheOption = (
BitmapCacheOption
)e.NewValue;
950
private
BitmapCacheOption
_cacheOption;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (3)
1185
BitmapCacheOption
cacheOption,
1193
if (cacheOption ==
BitmapCacheOption
.None)
1205
if (cacheOption ==
BitmapCacheOption
.OnDemand)
Core\CSharp\System\Windows\Media\Imaging\BmpBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (8)
47
public CachedBitmap(BitmapSource source, BitmapCreateOptions createOptions,
BitmapCacheOption
cacheOption)
112
_cacheOption =
BitmapCacheOption
.OnLoad;
252
if (_cacheOption ==
BitmapCacheOption
.OnDemand)
253
_cacheOption =
BitmapCacheOption
.OnLoad;
306
IsSourceCached = (_cacheOption !=
BitmapCacheOption
.None);
537
_cacheOption =
BitmapCacheOption
.OnLoad;
546
BitmapCacheOption
_cacheOption =
BitmapCacheOption
.Default;
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (6)
288
public
BitmapCacheOption
CacheOption
292
return (
BitmapCacheOption
) GetValue(CacheOptionProperty);
489
internal static
BitmapCacheOption
s_CacheOption =
BitmapCacheOption
.Default;
588
typeof(
BitmapCacheOption
),
590
BitmapCacheOption
.Default,
Core\CSharp\System\Windows\Media\Imaging\GifBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\IconBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\JpegBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
61
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\PngBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
150
BitmapCacheOption
.OnLoad,
Core\CSharp\System\Windows\Media\Imaging\TiffBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (1)
237
BitmapCacheOption
.Default,
Core\CSharp\System\Windows\Media\Imaging\UnknownBitmapDecoder.cs (1)
84
BitmapCacheOption
cacheOption,
Core\CSharp\System\Windows\Media\Imaging\WmpBitmapDecoder.cs (3)
54
BitmapCacheOption
cacheOption
73
BitmapCacheOption
cacheOption
93
BitmapCacheOption
cacheOption,
PresentationFramework (1)
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
118
BitmapCacheOption
.None