I want to listen Binding.SourceUpdated on all the child bindings defined.
http://msdn.microsoft.com/en-us/library/system.windows.data.binding.sourceupdated.aspx says
Set the NotifyOnTargetUpdated or NotifyOnSourceUpdated property (or both) to true in the binding. The handler you provide to listen for this event must be attached directly to the element where you want to be informed of changes, or to the overall data context if you want to be aware that anything in the context has changed.
That means we should be able to listen those event per DataContext instead of per Binding element.
Like most WPF events,
SourceUpdatedis aRouted Event. Any event handler for this event placed on a given element will also be called when a child element raises this event.If you have the following code:
The handler
OnBindingSourceUpdatedwill handle binding source changes for both textboxes. Place the attached event handler on the element where the data context is originally defined and you’ll get notifications for every source change.