Assume the following data-flow happens using Binding:
PropertyA <--> DependencyProperty <--> PropertyB
- The <--> marks represents a
TwoWaybinding mode. - Both
PropertyAandPropertyBclasses implementINotifyPropertyChangedand invokeOnPropertyChangedmethod in their setter accessor when changed.
The binding compiler setting starts from the above flow left side to the right, that means the last binding set is between DependencyProperty and PropertyB.
The problem is when PropertyA notifies for property changed, DependencyProperty doesn't invoke her OnPropertyChangedCallback method.
On the contrary, when PropertyB notifies for property changed, DependencyProperty DOES invoke her OnPropertyChangedCallback method.
I would like to know if it even possible to achieve such behavior using the .NET Binding mechanism, or there is another way.
Thanks in advance.
UPDATE
The term "chain" in the question context, for example, means:
when PropertyA notifies for a change, PropertyB will be notified from DependencyProperty which notified from PropertyA change, and vice versa.
The above example "chains" between PropertyA to PropertyB using DependencyProperty.