Routed Events in VB

Posted Sun, Apr 15 2007 1:43 by bill

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 :)

 

 

Attachment: RoutedEvent.zip
Filed under: ,