Replies: 3 comments
-
I have tried removing the items from the ListView directly, as well as from the ObservableCollection inside of the TestGroup and both result in a |
Beta Was this translation helpful? Give feedback.
-
I am currently dealing with a similar issue when trying to re-order. Only appears to be when the application is running as admin, and I can't seem to reproduce it in a smaller project to report correctly. I am wondering what else could be at play (translations, styles, etc) EDIT: Unpackaged app is what causes it to break. EDIT 2: Reported issue #5852 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The page includes a
ListView
that uses aCollectionViewSource
which has it'sSource
binded to anObservableCollection
of items.If I try to remove the selected item from the ListView, I get a "Catastrophic failure exception".
What is the correct way to remove an item from a group or CollectionViewSource and have the ListView update accordingly?
MainWindow.xaml:
MainWindow.xaml.cs:
Beta Was this translation helpful? Give feedback.
All reactions