[Solved] binding an List of objects to a Listbox
The Error you are getting is probably: Items collection must be empty before using ItemsSource. There is probably no problem with binding…. your bigest problem is invalid xaml. I am not sure what you are trying to achieve, but I guess you want to have listbox with horizonatal Stackpanel as ItemsPanel. Then it should be … Read more