As I read here:
http://msdn.microsoft.com/en-us/library/gg405484(v=pandp.40).aspx
Usually there is a one-to-one relationship between the look and its view of the model.
Does this mean that by design they can’t cope with several types?
, . , View ViewModel , , , ViewModel (, , , ). , , XAML, UserControl, ViewModel ( , , ). MVVM .
MVVM () ViewModel (), . ViewModel, , , DataTemplate ( ), ViewModel, , .
, , , , , , MVVM " ".
, , . ViewModel .
. , . - , , . , .
, . , . . , .
MVVM , . , , , , , - .
, "--" .
We had vm warnings, and we wanted to show them in a list on one of our submissions, but also a pop-up notification when there is a new alarm and do it on the main screen. By setting the popup menu data context to vm alarms, we could easily achieve this functionality.