Is it possible to bind to a value in Properties.Settings.Default in a way that will keep my UI current with the value stored there?
I have a class:
publi
You need your properties to implement INotifyPropertyChanged
in order for bindings to recognise when the property value changes.
Conveniently for you, ApplicationSettingsBase
implements INotifyPropertyChanged
so you just need to subscribe to PropertyChanged
on Properties.Settings.Default
and raise your own PropertyChanged
in response.