static void OnTargetNameResolverChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { TargetedTriggerAction action = (TargetedTriggerAction)d; if (BindingOperations.GetBinding(action, TargetNameResolverProperty) != null) { action.UpdateTarget(action.AssociatedObject); } }
private static void OnTargetObjectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { TargetedTriggerAction action = (TargetedTriggerAction)d; action.UpdateTarget(action.AssociatedObject); }