WinRT preload images
问题 I have a Windows 8.1 XAML app where I'd like to preload images before navigating between pages. The naive code I have now is: // Page1.xaml.cs private void Button_Click(object sender, RoutedEventArgs e) { Frame.Navigate(typeof(Page2)); } And on the second page: // Page2.xaml.cs this.image1.Source = new BitmapImage(new Uri("ms-appx:///Assets/image1.jpg")); this.image2.Source = new BitmapImage(new Uri("ms-appx:///Assets/image2.jpg")); Now, when I click the button to navigate, I can see the