Question

I'm making a control that involves dragging pieces of a displayed element around. Since part of it is an arc, I have to use a PathFigure so I can use ArcSegments. I'd like to be able to know if the mouse is over a particular segment of the figure, but I don't see an obvious way to do this. Is it impossible or am I missing something?

Was it helpful?

Solution

the root Path object has the normal UI events for Mouse, instead of one Path with lots of Arcs you will need lots of Paths with an arc in each.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top