I just wanted to forward on a blog post that I found useful. I was implementing a textbox whereby a user can edit an application setting. My old way of thinking was to manually marshal the data from the setting to the control, and back again when the user clicks “Ok”.
However, this is not the “WPF Way”.
Patrick Danino explains a way to hook your text control to application settings using WPF data binding. This produces much less code than having to marshal the data manually.
Well done Patrick!