Scoping Events to Regions

Nov 7, 2008 at 9:41 PM
We have a tabbed UI where each tab is its own region and we want to limit events so that another tab does not get the current tab's events.  Any guidance on limiting event scope to a region? 


Nov 8, 2008 at 7:34 PM
Hi Mark,

This article (a great CAL overview) mentions filtering events with a predicate<T> at subscription.  That would be the simplest approach and probably suffice.  Same article also has section on Locally Scoped Regions.  Maybe you could locally scope region making sure each has its own event aggregator.

This is a long thread but may be helpful:

I'm just dealing with some issues around events and commands myself.  So I hope that may be helpful.  I'm no expert.