Routed Events in VB

Earlier today I got asked about routed events for WPF in VB.  Unfortunately the only examples in msdn library are in C#.  So to help out I posted a simple routed event declaration and some associated declarations. All good ? Well not really.  As always with cut and paste code there’s pieces that need to be replaced that get easily overlooked.  That’s why snippets are so good, because you can indicate the pieces that need to be replaced.


So, in case anyone else wants a sample of routed event declaration for WPF in VB, here’s a snippet to help you out. Enjoy 🙂