BitmapImage image = new BitmapImage(new Uri("http://www.google.com/intl/en_ALL/images/logo.gif"));
image1.Source = image;
结果Width and Height 始终是1;
解决:
That should mean the image is still downloading -- check the IsDownloading property. When the DownloadComplete event fires, the property values will be correct.