11. March 2021 · Categories: .NET

I recently was adding binding support to a custom WPF control in .NET, and was checking how you can integrate information from the bindings Binding.UpdateSourceTrigger setting. But you do not need to implement anything. If you just post an update on every change, the binding system itself will prevent the updates from being forwarded if you use a different mode than UpdateSourceTrigger.PropertyChanged. It might be useful to look at BindingOperations.GetBindingBase to retrieve the Binding, and determine when you need to post updates, but that is a performance optimization, not needed to get correct behavior.