I just converted all my settings from AppSettings to ConfigurationSections. It definitely cleaned things up, but I'm having difficulties with the preferences window. I want to use bindings in my WPF window.
- Should I store each of the ConfigurationSections in a dependency property and bind to the ConfigurationSection's properties?
- Should I use ObjectDataProvider's that calls the ConfigurationManager.GetSection?
- Is there another way I can do this?
Off-topic: I find the bindings in WPF to be really powerful, but it's sometimes a bit confusing or difficult to create the bindings. I wish there was better documentation for XAML.