Here\'s the scenario:
I have the following user control, the idea is that it\'s view model should be able to signal to the view that it needs to \"Activate the Glow\
I believe you would have to bind to a RoutedEvent instance, not a CLR event.
I haven't tried it, but something like this should work:
public class UnitView
{
public static readonly RoutedEvent ActivateGlowEvent
= EventManager.RegisterRoutedEvent(
"ActivateGlow", RoutingStrategy.Bubble,
typeof(RoutedEventHandler), typeof(UnitView)
);
public void RaiseActivateGlowEvent()
{
RaiseEvent(new RoutedEventArgs(ActivateGlowEvent));
}
}