private void FileSystemOnFileExplorerEntryRenamed(object sender, EntryRenamedInfo entryRenamedInfo)
 {
     if (Value.Equals(entryRenamedInfo.FileExplorerEntry))
     {
         Name = entryRenamedInfo.NewName;
         if (entryRenamedInfo.FileExplorerEntry != Value)
         {
             Value.Name = entryRenamedInfo.NewName;
             Value.Path = entryRenamedInfo.NewPath;
         }
     }
 }
Beispiel #2
0
 private void FileSystemOnFileExplorerEntryRenamed(object sender, EntryRenamedInfo entryRenamedInfo)
 {
     if (Value.Equals(entryRenamedInfo.FileExplorerEntry))
     {
         Name = entryRenamedInfo.NewName;
         if (_label == entryRenamedInfo.FileExplorerEntry.Name)
         {
             _label = entryRenamedInfo.NewName;
             OnPropertyChanged(nameof(Label));
         }
         if (entryRenamedInfo.FileExplorerEntry != Value)
         {
             Value.Name = entryRenamedInfo.NewName;
         }
     }
 }