How to store an ItemsSource for an ItemsControl (ListBox, ComboBox) in the app.config?

Posted by Dabblernl on Stack Overflow See other posts from Stack Overflow or by Dabblernl
Published on 2010-03-20T21:24:45Z Indexed on 2010/03/20 21:31 UTC
Read the original article Hit count: 437

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!

© Stack Overflow or respective owner

Related posts about .NET

Related posts about configuration