Applies to Silverlight 5
In Silverlight 5, a new feature was introduced called the Ancestor RelativeSource binding. This type was already available to WPF developers but with the introduction of version 5, also made its appearance in Silverlight. Using this binding, we can bind to relative source elements easily. This feature is useful in data templates. In this recipe, we'll extend the Silverlight banking sample once again to including this binding type.
For this recipe, a starter solution is provided in the
Chapter03/ SilverlightBanking_Relative_Source_Starter folder. The complete solution can be found in the