Wpf binding not updating source
If you have an alternative solution to this problem, I'd love to hear about it. In the previous article we saw how changes in a Text Box was not immediately sent back to the source.This means that there can be times when the source data is temporarily out of sync with the target (the control).In certain scenarios, this can result in unexpected data loss.Specifically, the Update Source Trigger of bindings on this property is set to Lost Focus by default.
For example, an application might be using Bindings with the Update Source Trigger set to Explicit and use some special criteria to decide when to commit the binding changes.
However, since WPF is pretty good at controlling this for you, the default value should suffice for most cases, where you will get the best mix of a constantly updated UI and good performance.
For those situations where you need more control of the process, this property will definitely help though.
Default is, obviously, the default value of the Update Source Trigger.
The other options are Property Changed, Lost Focus and Explicit.