private async void Attribute_Click(object sender, RoutedEventArgs e) { if (SearchResultList.SelectedItem is FileSystemStorageItem Item) { PropertyDialog Dialog = new PropertyDialog(Item); _ = await Dialog.ShowAsync().ConfigureAwait(true); } }
private async void LibraryProperties_Click(object sender, RoutedEventArgs e) { if (LibraryGrid.SelectedItem is LibraryFolder Library) { PropertyDialog Dialog = new PropertyDialog(Library.Folder); _ = await Dialog.ShowAsync().ConfigureAwait(true); } }
private async void PropertyButton_Click(object sender, RoutedEventArgs e) { if (ListViewControl.SelectedItem is RecycleStorageItem Item) { PropertyDialog Dialog = new PropertyDialog(Item); await Dialog.ShowAsync().ConfigureAwait(false); } }
private async void LibraryProperties_Click(object sender, RoutedEventArgs e) { if (LibraryGrid.SelectedItem is LibraryFolder Library) { PropertyDialog Dialog = new PropertyDialog(FileSystemStorageItemBase.Open(Library.Folder.Path, ItemFilters.Folder)); _ = await Dialog.ShowAsync().ConfigureAwait(true); } }