Example #1
0
        private void SelectedBlobs_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
        {
            SelectedBlob = SelectedBlobs.Count == 1 ? SelectedBlobs[0] : null;

            DeleteBlobsCommand?.RaiseCanExecuteChanged();
            ViewBlobCommand?.RaiseCanExecuteChanged();
            RenameCommand?.RaiseCanExecuteChanged();
            ExternalOpenCommand?.RaiseCanExecuteChanged();
            CopySelectedBlobsCommand?.RaiseCanExecuteChanged();
            ShowBlobPropertiesCommand?.RaiseCanExecuteChanged();
            DownloadBlobsCommand?.RaiseCanExecuteChanged();
        }
Example #2
0
 public async Task ItemActionAsync(Blob blob)
 {
     if (blob.Kind == BlobItemKind.Folder)
     {
         //GoLevelUpCommand.Execute(null);
         FolderPath = StoragePath.Normalize(
             StoragePath.Combine(FolderPath, blob.Name == ParentFolderName ? StoragePath.LevelUpFolderName : blob.Name), true);
     }
     else
     {
         ViewBlobCommand.Execute(null);
     }
 }