Ejemplo n.º 1
0
        private static void OnTargetNameChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            TargetedTriggerAction targetedTriggerAction = (TargetedTriggerAction)obj;

            targetedTriggerAction.TargetResolver.Name = (string)args.NewValue;
        }
Ejemplo n.º 2
0
        private static void OnTargetObjectChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            TargetedTriggerAction targetedTriggerAction = (TargetedTriggerAction)obj;

            targetedTriggerAction.OnTargetChanged(obj, new NameResolvedEventArgs(args.OldValue, args.NewValue));
        }