Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net EventToCommand使参数最新_.net_Wpf_Mvvm_Mvvm Light - Fatal编程技术网

.net EventToCommand使参数最新

.net EventToCommand使参数最新,.net,wpf,mvvm,mvvm-light,.net,Wpf,Mvvm,Mvvm Light,我使用EventToCommand,希望每次触发事件时都更新CommandParameter绑定。有什么方法可以实现它吗?您可以像这样使用PassEventArgsToCommand=“True”这将把值传递给viewmodel 公共空间起始点测试器(路由属性ChangedEventArg) 在arg中,您可以从该控件获取值您可以像这样使用PassEventArgsToCommand=“True”这将值传递给viewmodel 公共空间起始点测试器(路由属性ChangedEventArg) 在a

我使用EventToCommand,希望每次触发事件时都更新CommandParameter绑定。有什么方法可以实现它吗?

您可以像这样使用PassEventArgsToCommand=“True”这将把值传递给viewmodel

公共空间起始点测试器(路由属性ChangedEventArg)


在arg中,您可以从该控件获取值

您可以像这样使用PassEventArgsToCommand=“True”这将值传递给viewmodel

公共空间起始点测试器(路由属性ChangedEventArg)

在arg中,u可以从该控件获取值