这是我的代码:
Iteration 0: Output [1.6]
Iteration 1: Output [1.6800001]
Iteration 2: Output [1.7440001]
Iteration 3: Output [1.7952001]
Iteration 4: Output [1.8361601]
Iteration 5: Output [1.8689281]
Iteration 6: Output [1.8951424]
Iteration 7: Output [1.916114]
Iteration 8: Output [1.9328911]
Iteration 9: Output [1.9463129]
不确定我是否可以像这样使用CommandBinding(因为它不起作用,因此响应肯定是'no':-D)。
所以我的问题是,如何通知我是否执行了viewModel.Command.Execute()方法? (viewModel.Command是一个ICommand btw)
我可以在viewModel中添加一些东西来处理它,但是...我确定我缺少了一些东西。 感谢您的帮助