Example #1
0
        private static void OnTargetObjectChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CallMethodWithParameterAction CallMethodWithParameterAction = (CallMethodWithParameterAction)sender;

            Type newType = args.NewValue != null?args.NewValue.GetType() : null;

            CallMethodWithParameterAction.UpdateTargetType(newType);
        }
Example #2
0
        private static void OnMethodNameChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            CallMethodWithParameterAction CallMethodWithParameterAction = (CallMethodWithParameterAction)sender;

            CallMethodWithParameterAction.UpdateMethodDescriptors();
        }