Prism 5, AutoWireViewModel, MVVM and ViewModel with constructor parameter

Topics: Prism v4 - WPF 4
May 28, 2015 at 8:01 AM
A question regarding the AutoWireViewModel set to True and MVVM. If the ViewModel-constructor needs a parameter, is there any other option than setting the DataContext in the CodeBehind?

I use a Unity container (where the Model is registered), and if I was able to resolve this in the ViewModel without involving the View's CodeBehind, this would be great.

PS! Missing topic for Prism v5