Binding the IsSelected property of ListBoxItem to a property on the object from it's source

Viewed 19809

I have a WPF ListBox control and I'm setting its ItemsSource to a collection of item objects. How can I bind the IsSelected property of the ListBoxItem to a Selected property of a corresponding item object without having an instance of the object to set as a Binding.Source?

2 Answers
Related