82 references to BitmapCacheOption
PresentationCore (77)
System\Windows\Media\ImageSourceConverter.cs (3)
99BitmapCacheOption.Default, 125BitmapCacheOption.Default 134BitmapCacheOption.Default
System\Windows\Media\ImageSourceValueSerializer.cs (1)
51BitmapCacheOption.Default,
System\Windows\Media\Imaging\BitmapDecoder.cs (12)
53BitmapCacheOption cacheOption, 110BitmapCacheOption cacheOption, 158BitmapCacheOption cacheOption, 223BitmapCacheOption cacheOption, 440BitmapCacheOption cacheOption 457BitmapCacheOption cacheOption, 484BitmapCacheOption cacheOption 990BitmapCacheOption cacheOption, 1127if (cacheOption == BitmapCacheOption.OnLoad) 1381else if ((_createOptions & BitmapCreateOptions.DelayCreation) == 0 && _cacheOption == BitmapCacheOption.OnLoad) 1434if (i > 0 && _cacheOption != BitmapCacheOption.OnLoad) 1645internal BitmapCacheOption _cacheOption;
System\Windows\Media\Imaging\BitmapFrame.cs (6)
42BitmapCacheOption cacheOption, 117BitmapCacheOption.Default, 132BitmapCacheOption cacheOption 149BitmapCacheOption cacheOption, 181BitmapCacheOption.Default, 196BitmapCacheOption cacheOption
System\Windows\Media\Imaging\BitmapFrameDecode.cs (5)
25BitmapCacheOption cacheOption, 59BitmapCacheOption cacheOption, 103BitmapCacheOption cacheOption, 456IsSourceCached = (_cacheOption != BitmapCacheOption.None); 730private BitmapCacheOption _cacheOption;
System\Windows\Media\Imaging\BitmapImage.cs (8)
78if (UriSource != null && !UriSource.IsAbsoluteUri && CacheOption != BitmapCacheOption.OnLoad) 162CacheOption == BitmapCacheOption.Default && 340BitmapCacheOption.None, // do not cache the frames since we will do that here 582if (CacheOption != BitmapCacheOption.None) 604if (decoder != null && CacheOption == BitmapCacheOption.OnLoad) 608else if (CacheOption != BitmapCacheOption.OnLoad) 694_cacheOption = (BitmapCacheOption)e.NewValue; 919private BitmapCacheOption _cacheOption;
System\Windows\Media\Imaging\BitmapSource.cs (3)
1038BitmapCacheOption cacheOption, 1046if (cacheOption == BitmapCacheOption.None) 1058if (cacheOption == BitmapCacheOption.OnDemand)
System\Windows\Media\Imaging\BmpBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\CachedBitmap.cs (8)
23public CachedBitmap(BitmapSource source, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption) 74_cacheOption = BitmapCacheOption.OnLoad; 156if (_cacheOption == BitmapCacheOption.OnDemand) 157_cacheOption = BitmapCacheOption.OnLoad; 201IsSourceCached = (_cacheOption != BitmapCacheOption.None); 399_cacheOption = BitmapCacheOption.OnLoad; 408private BitmapCacheOption _cacheOption = BitmapCacheOption.Default;
System\Windows\Media\Imaging\Generated\BitmapImage.cs (6)
266public BitmapCacheOption CacheOption 270return (BitmapCacheOption) GetValue(CacheOptionProperty); 467internal static BitmapCacheOption s_CacheOption = BitmapCacheOption.Default; 565typeof(BitmapCacheOption), 567BitmapCacheOption.Default,
System\Windows\Media\Imaging\GifBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\IconBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\JpegBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
29BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\PngBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
110BitmapCacheOption.OnLoad,
System\Windows\Media\Imaging\TiffBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\TransformedBitmap.cs (1)
202BitmapCacheOption.Default,
System\Windows\Media\Imaging\UnknownBitmapDecoder.cs (1)
55BitmapCacheOption cacheOption,
System\Windows\Media\Imaging\WmpBitmapDecoder.cs (3)
36BitmapCacheOption cacheOption 50BitmapCacheOption cacheOption 65BitmapCacheOption cacheOption,
PresentationCore.Tests (4)
System\Windows\Media\Imaging\BitmapImage.Tests.cs (4)
28image.CacheOption = BitmapCacheOption.OnLoad; 43image.CacheOption = BitmapCacheOption.OnLoad; 73image.CacheOption = BitmapCacheOption.OnLoad; 99image.CacheOption = BitmapCacheOption.OnLoad;
PresentationFramework (1)
System\Windows\ColorConvertedBitmapExtension.cs (1)
109BitmapCacheOption.None