慕妹3146593
点击事件的话直接绑定commandxaml里引用xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"<i:Interaction.Triggers><i:EventTrigger EventName="Click"><i:InvokeCommandAction Command="{Binding Command1}" CommandParameter="10" /></i:EventTrigger></i:Interaction.Triggers>Command1在vm层定义