jeudi 22 décembre 2016

Prism. EventAggregator to currently active tab

I have this UI shell:
enter image description here

On refresh button, I call _eventAggregator.GetEvent<RefreshEvent>().Publish();

And code in all regions in tabs had subscribed to this event.

Problem: The problem is that I want to update only currently active tab. But in my case all tabs are updating. Is there a good practices to solve this?

Aucun commentaire:

Enregistrer un commentaire