Activity control intergration

Topics: Prism v2 - Silverlight 3
Oct 5, 2009 at 12:43 PM

Hi,

am wonderin if any body has intergrated David Activity control in to there prism app?

I have done some somethin alot simpler using event aggregation to show a "spinny graphic" but am wondering if any body has done anything more sophicated ?

Cheers

Marcus

Oct 6, 2009 at 3:38 PM

Hi Marcus,

I use the activity control for a module loading wait screen, but its not really any more sophisticated than what you described you did. I put an activity control in the shell around my main region (to which most modules are loaded) and tied the IsActive property to a property tied to the loading status of modules in the region. Per some other logic in my project I have to publish module start load and module finish load events through the aggregator anyway so I figured why not use them for that.