Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/12.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
C# 棱镜6和WPF4_C#_Wpf_Xaml_Prism - Fatal编程技术网

C# 棱镜6和WPF4

C# 棱镜6和WPF4,c#,wpf,xaml,prism,C#,Wpf,Xaml,Prism,我正在使用PRISM 6和WPF构建简单的应用程序。我想将EventArgs传递给我的ViewModel,到目前为止,我有以下代码: <i:Interaction.Triggers> <i:EventTrigger EventName="MouseWheel"> <prism:InvokeCommandAction Command="{Binding RotaryTableCommand}" TriggerParamet

我正在使用PRISM 6和WPF构建简单的应用程序。我想将EventArgs传递给我的ViewModel,到目前为止,我有以下代码:

<i:Interaction.Triggers>
       <i:EventTrigger EventName="MouseWheel">
                <prism:InvokeCommandAction Command="{Binding RotaryTableCommand}" TriggerParameterPath="MouseWheel"/>
       </i:EventTrigger>
</i:Interaction.Triggers>

我遇到的问题是在prism:InvokeCommandAction中,我得到了这样一条消息:“来自程序集'prism.Wpf'的'InvokeCommandAction'类型是使用Blend SDK的旧版本构建的,在WPF4项目中不受支持


我真的不知道我该怎么办。

不确定prism的具体实现,但在vanila WPF中,您有可以绑定参数的参数。也许这可以帮助您