How to store an ItemsSource for an ItemsControl (ListBox, ComboBox) in the app.config?
- by Dabblernl
After much research and trial and error I found how to store the items for a ListBox and ComboBox in the app.Config. I am heavily indebted to Jon Rista, who wrote a series of articles about the Net 2.0 Configuration classes. I constructed a (large!) code snippet that will generate all the code you need by just inserting three strings!
Enjoy!