Exemple #1
0
        protected override void HandleOnNavigatingFrom(NavigatingCancelEventArgs e)
        {
            base.HandleOnNavigatingFrom(e);
            AddEditAudioViewModel dataContext = (AddEditAudioViewModel)base.DataContext;

            if (dataContext == null || ((string)e.Uri.OriginalString).Contains("app://external"))
            {
                return;
            }
            dataContext.CancelUploading();
        }