Best way to bind WPF properties to ApplicationSettings in C#?

后端 未结 7 708
野的像风
野的像风 2020-12-07 15:40

What is the best way to bind WPF properties to ApplicationSettings in C#? Is there an automatic way like in a Windows Forms Application? Similar to this question, how (and

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 16:25

    Also read this article on how it is done in BabySmash

    You only need to back the Settings with DO (Like Alan's example) if you need the change notification! binding to the POCO Settings class will also work!

提交回复
热议问题