I have a complex page with an independant UserControl (has its own ViewModel), and I want to transfer one parameter. I’m thinking of two solution :
- DependencyProperty for UserControl
- MVVM Light messenger (By the way, how to make unique the message between sender and recorder? With NotificationMessage?)
Please, could you help me to find the most appropriate solution for MVVM architecture?
Finaly i declared the UserControl ViewModel in View ViewModel