我应该如何在 netcore 3.0 中绑定事件?在 WPF 项目(netcore3.0)中,没有像 Interactive.dll 那样做
<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseDoubleClick">
<i:InvokeCommandAction Command="{Binding Path=DoSomethingCommand}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
Run Code Online (Sandbox Code Playgroud)
那么如何在 WPF (netcore3.0) 中绑定事件?