更新时间:2023-02-17 13:20:58
我找到了解决方案.
IRandomAccessStream stream = await storageFile.OpenAsync(FileAccessMode.Read);
BitmapImage bitmapImage = new BitmapImage();
if (await bitmapImage.SetSourceAsync(stream))
{
image1.source = bitmapImage;
}
没有这种闪烁方式.