Reputation: 5729
I'm developing a WPF Application with the bing map control.
On my map, i added some pushpin. I added a click event on my pushpin.
All is ok, i can click on my pushpin and the event is fire.
Now, i need to add some circles ( MapPolygon ) on the map.
When the circle is "on" a pushpin, my click event on my pushpin is not fire.
I need to have always the click event on the pushpin ( an not on the circle).
For information, i draw my circles by MapPolygon directly by C#, and not by WPF.
Upvotes: 0
Views: 545
Reputation: 5729
Thanks to Didier, solution is :
Setting
IsHitTestVisible
to false on the circle !
Upvotes: 2