10 references to OnLoad
PresentationCore (10)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (3)
1288if (cacheOption == BitmapCacheOption.OnLoad) 1677else if ((_createOptions & BitmapCreateOptions.DelayCreation) == 0 && _cacheOption == BitmapCacheOption.OnLoad) 1741if (i > 0 && _cacheOption != BitmapCacheOption.OnLoad)
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (3)
104if (UriSource != null && !UriSource.IsAbsoluteUri && CacheOption != BitmapCacheOption.OnLoad) 635if (decoder != null && CacheOption == BitmapCacheOption.OnLoad) 639else if (CacheOption != BitmapCacheOption.OnLoad)
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (3)
112_cacheOption = BitmapCacheOption.OnLoad; 253_cacheOption = BitmapCacheOption.OnLoad; 537_cacheOption = BitmapCacheOption.OnLoad;
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (1)
150BitmapCacheOption.OnLoad,