wpf,对于列表模板里点击事件的2种写法的差异
1 <i:Interaction.Triggers> 2 <i:EventTrigger EventName="MouseDown"> 3 <i:InvokeCommandAction Command="{Binding LocatedCommand}" /> 4 i:EventTrigger> 5 <i:EventTrigger EventName="MouseDoubleClick"> 6 <i:InvokeCommandAction Command="{Binding PersonnelDetailShowCommand}" /> 7 i:EventTrigger> 8 i:Interaction.Triggers> 9 10
尽量使用第一种写法
原文:https://www.cnblogs.com/zsx-blog/p/15107605.html