正文wpf事件绑定,比如一个控件的左键按下事件IP云V管理员/2022-08-24/4 阅读 08/24提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示 <i:Interaction.Triggers> <i:EventTrigger EventName="MouseLeftButtonDown"> <i:InvokeCommandAction Command="{Binding Cmd,RelativeSource={RelativeSource AncestorType=Window}}" /> </i:EventTrigger> </i:Interaction.Triggers>