Now that I have a Custom Routed Event, how can I specify a handler in XAML?
<Window.Resources>
<Style TargetType="Grid">
<Setter Property="funk:Tap.Handler"
Value="{Binding TapHandler}"/>
</Style>
</Window.Resources>
Allowing:
- UIElements to handle bubbling or tunneling RoutedEvents, not just the Controls raising them
- The use of implicit Styles, eliminating the need to wire the event for each UIElement of a certain Type
- Change of handler based on logic in ViewModel
- a View with no code-behind