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
?