I have list view which is binding with ObservableCollection. I want to delete selected row in the list view from ObservableCollection on a button click.
How i can get selected row position? My collection does not contains ID
You can see the code i’m using here.
Assuming you have regular classes (no override of Equals) then you can simply Remove it: