C# 延迟创建和背景创建在Windows Phone8.1中不存在
此代码在WP8中工作,但在WP8.1中对于DelayCreation和BackgroundCreation出现错误 public void SetImageSourcestring imagePath { 如果AppSettings.AddNewShowIconVisibility { BitmapImage bmImage=BitmapCreateOptions.DelayCreation | BitmapCreateOptions.BackgroundCreation; } }C# 延迟创建和背景创建在Windows Phone8.1中不存在,c#,windows-phone-8.1,C#,Windows Phone 8.1,此代码在WP8中工作,但在WP8.1中对于DelayCreation和BackgroundCreation出现错误 public void SetImageSourcestring imagePath { 如果AppSettings.AddNewShowIconVisibility { BitmapImage bmImage=BitmapCreateOptions.DelayCreation | BitmapCreateOptions.BackgroundCreation; } } WinRT上
WinRT上只支持IgnoreImageCache:那么如何使用DelayCreation和BackgroundCreation呢?因为它们不可用,所以您不能使用DelayCreation和BackgroundCreation。使用DelayCreation和BackgroundCreation的替代方案是什么