Binding Commands to Events?

前端 未结 6 2077
清歌不尽
清歌不尽 2020-12-01 06:57

What\'s a good method to bind Commands to Events? In my WPF app, there are events that I\'d like to capture and process by my ViewModel but I\'m not sure how. Things like lo

6条回答
  •  既然无缘
    2020-12-01 07:34

    I don't think you can use it in pure XAML, but take a look at the Delegate Command.

提交回复
热议问题