c# wpf MVVM way : I have a listbox with itemsource set to a table via entity framework. the listbox allows multiselect. Now i want to retrieve all the selecteditems from the listbox and then show them in a textblock.
Asked
Active
Viewed 235 times
0
-
1any effort from your side, to achieve this? – sujith karivelil Jul 20 '16 at 02:46
-
How do you expect to show all selected items in a single textblock?? Please post some code you have tried, or people may **find it unclear**. – ViVi Jul 20 '16 at 03:01
-
binding SelectedItems to a ObservableCollection and foreach (var item in Collection){ string = string + item.tostring() } – Quest Jul 20 '16 at 03:28
-
You already said it. Now start coding. – ViVi Jul 20 '16 at 03:36