Applies to Silverlight 3, 4 and 5
Sometimes the value of the property of an element is directly dependent on the value of the property of another element. In this case, you can create a binding in XAML called an
element binding or
element-to-element binding. This binding links both values. If needed, the data can flow bi-directionally.
In the banking application, we can add a loan calculator that allows the user to select an amount and the number of years in which they intend to pay the loan back to the bank, including (of course) interest.
To follow this recipe, you can either continue with your solution from the previous recipe or use the provided solution that can be found in the