Replies: 1 comment
-
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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