Mouse Event on TextAnnoation

Apr 19, 2013 at 11:25 AM
Hi,

I am using Mouse Event in WPF on different types of annotation, I have no problem to handle event on the LineAnnotations and ArrowAnnotations, but i don't succeed in handling event on TextAnnotation, the mouse down event is never called in my application. Is there a property to activate ?

Thank you for your answers.
Coordinator
Apr 19, 2013 at 1:07 PM
I just added a simple HitTest implementation for the TextAnnotation, try the latest version.
The implementation use a point-in-polygon test, it should be possible to improve performance by using a point-in-rectangle test (but this means rotation and alignment must be considered...)