コード例 #1
0
        static void OnTargetNameResolverChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TargetedTriggerAction action = (TargetedTriggerAction)d;

            if (BindingOperations.GetBinding(action, TargetNameResolverProperty) != null)
            {
                action.UpdateTarget(action.AssociatedObject);
            }
        }
コード例 #2
0
        private static void OnTargetObjectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TargetedTriggerAction action = (TargetedTriggerAction)d;

            action.UpdateTarget(action.AssociatedObject);
        }