ListBox multiselect binding

Mar 7, 2011 at 7:44 PM

Hi, I'm using a listbox to display some items, I need to get the selected items of the listbox, the problem is that when use selection mode multiple the listbox doesn't bind to the property but if I use single selection mode It works. I'm trying to get the selected values into a List or a ObservableCollection but it doesn't works (the selectedItemEvent isn't fired), I've also tried to bind to a IEnumerable property which get the selecteditem event but don't get the selected values in the ViewModel. There is some way I coul retrieve the selected items of the ListBox?