DP of type binding does not find binding instance, but binding value. MS.Internal.Data.DynamicValueConverter (SL4)
description
When you migrate this project to support silverlight 4, you get a problem when using the BindingListener object. The propery Binding of type binding does not function because the MS.Internal.Data.DynamicValueConverter will use the value of the binding instead of the binding instance itself.
For example in the SetDataProperty and the Binding property. When you do something like this in XAML to set the Binding property like {Binding ViewModel.IsDragging, ElementName=ApplicationRoleUserControl, Mode=TwoWay} it will return the value of the binding. In this case it'll be the value True or False because the property ViewModel.IsDragging is a boolean.
The MS.Internal.Data.DynamicValueConverter will throw an error because it cannot convert "True" to a type of binding. All behaviors with the dependency properties of type binding will not work in silverlight 4.