Hi,
I've recently taken over a MVVM project started by someone who's now left the company; It's my first time using WPF, but by the looks of it, it was his first time using both WPF and OOP...
Anyway, I've got a ListView in the XAML, and I've got a collection class which doesn't currently contain a "SelectedItem" property.
Can someone tell me what code I need to put in to link the SelectedItem of the ListView to the as-yet-unwritten SelectedItem property of my collection, and then what code I need to put in so that the SelectedItem of the collection links back to the ListView?
Apologies for the homework-level question, but the code I'm working with is such a nightmare that I can't yet wrap my head around "how to write WPF?" at the same time as "how do I rewrite this coding horror as OOP?" so if someone can supply me with some example code, I can work on inserting it into the nightmare...