public extern object ReadLocalValue([In] DependencyProperty dp);
public extern object GetAnimationBaseValue([In] DependencyProperty dp);
private static void RefreshBinding(DependencyObject target, DependencyProperty property) { BindingExpression binding = target.ReadLocalValue(property) as BindingExpression; if (binding != null && binding.ParentBinding != null) { BindingOperations.SetBinding(target, property, binding.ParentBinding); } }