protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); CloudHandler ch = Application.Current.Resources["CloudHandler"] as CloudHandler; if (ch != null) { imageProgress.IsIndeterminate = true; ch.GetFileUri(UrlCallback, ch.CurrentItem.Entry); } }