events on routes

Aug 31, 2010 at 3:15 PM

Hi radioman,

i'm trying to manage some events on the routes (i.e. when the cursor is on the route i'll show the route highlighted) but actually it won't work, i can show the route, i can create the events on the route shape but they won't trigger. Do you have an idea?

Aug 31, 2010 at 3:59 PM


Sep 1, 2010 at 6:48 AM

yes in wpf

Sep 1, 2010 at 9:36 PM

should work perfectly

Sep 2, 2010 at 6:56 AM

i thought it too but actually, i've created the mouse enter and mouse leave on the shape of  the route (on the Path object), but these events won't trigger when the mouse cursor passes on the route

Sep 2, 2010 at 11:56 AM

be default it's optimized and does not respond to mouse events, just do myPath.IsHitTestVisible = true; // and it will responds as expected

Sep 2, 2010 at 12:47 PM

now it's perfect!

thx radioman ;)