mvvmlight
mvvmlight copied to clipboard
Using the none default instance of messenger in view
I was wondering if you had any techniques for using a custom instance of the messenger in the code behind of a view. I would rather create my own instance of the messenger and pass that around than using the singleton instance. Thanks
are you looking for something like this? http://dotnetpattern.com/mvvm-light-messenger There is a way for custom messenger.
passing my messenger to the ViewModelBase is what I'm currently doing for my ViewModels but how do I use my messenger in the code behind of a view