The following example fills the ItemsControl with a List of BackupDirectories which I get from code.
How can I change this
Had the same problem, but solved it in a different way. It might not be the best solution, but its a solution.
in app.config:
Then in my configuration wrapper class, I add a method to search keys.
public List SearchKeys(string searchTerm)
{
var keys = ConfigurationManager.AppSettings.Keys;
return keys.Cast
For anyone reading this, i agree that creating your own custom configuration section is cleaner, and more secure, but for small projects, where you need something quick, this might solve it.