阅读背景:

WPF MVVM:命令很简单。如何使用RoutedEvent连接View和ViewModel

来源:互联网 

Suppose I have a view implemented as a DataTempate inside a resource Dictionary. And I have a corresponding ViewModel. Binding Commands are easy. But what if my View contains a control such as a ListBox, and I need to Publish an application wide event (Using Prism's Event Aggreagtor) based on the Item being Changed on the List.Suppose I have a view implemented as a DataTemp




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: