Publish to EventAggregator from XAML

Topics: Getting Started
May 31, 2012 at 9:07 PM

Can I publish a message to the EventAggregator from XAML? I see cal:Message.Handler, but I didn't find any documentation on it.



Jun 6, 2012 at 7:55 PM
Edited Jun 6, 2012 at 7:55 PM

I don't know much, but I might be able to help. What are you trying to do exactly?

Jun 7, 2012 at 2:01 AM

Hi gmaniac,

I am currently invoking actions that justs publish messages, and I thought that was repetitive. Then I realized that the EventAggregator is an instance, not a static class, so a "publish message from xaml code" feature shouldn't exist.

Thanks though!