Bind a keyboard shortcut to a command in the view model in WPF

前端 未结 2 1034
情歌与酒
情歌与酒 2021-01-18 05:24

I have an application where I have a UserControl with a toolbar in it. This toolbar has a button Execute which in turn has its command bound to an

2条回答
  •  一个人的身影
    2021-01-18 05:45

    There was another answer that disappeared for some reason. This worked fine:

    
      
    
    

    I'd like to give credit to that guy if possible. Please appear again :)

提交回复
热议问题