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