C# Code Snippet for RoutedEvent

I wondered why there is no built-in snippet for routed event and created one and like to share with you.
EDIT: Here is a link to learn more about having and adding your own snippet to Visual Studio.





Define a RoutedEvent roevent Code snippet for defining a RoutedEvent Kaan Bardak kaanbardak.com Expansion
eventHandlerType Event Handler Type RoutedEventHandler name Event Name MyEvent ownerClass The owner class of this Event. owner routingStrategy The routing strategy for this event. Bubble

Leave a Reply

Your email address will not be published. Required fields are marked *