Best practices for storing UI settings?

2020-02-08 04:43发布

we're currently planning a larger WPF LoB application and i wonder what others think being the best practice for storing lots of UI settings e.g.

  • Expander States
  • Menu orders
  • Sizing Properties
  • etc...

i don't like the idea of having dozens of stored values using the delivered SettingsProvider (i.e. App.config file) although it can be used to store it in an embedded database using a custom SettingsProvider. being able to use some kind of databinding is also a concern. Has anyone had the same problems?

What did you do to store lots of ui user settings?

7条回答
来,给爷笑一个
2楼-- · 2020-02-08 05:25

We store all in the Isolation Storage (we are running with ClickOnce). We have some object that we serialize (XmlSerializer).

查看更多
登录 后发表回答