on-internet
← Community

CommunityToolkit.MVVM send message identified by token to specific view model

Stack Overflow ·

I need a help with CommunityToolkit.MVVM to utilize messenger for communication between view models. The issue I have is that that at the same time user can open the same view twice (because it's a desktop app) so simple implementation of messenger doesn't work for me - I need to register my view model with some token to so it only listens for specific view model (I have trouble finding any example in documentation). Thank you for any help in advance. I tried to simplify the code to include only needed parts of it. UserListView.xaml <UserControl x:Class="ProjectIdeas.Core.Users.View.UsersListV

Comments

Sign in or sign up to comment and upvote.

No comments yet.