Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
ContextMenu on SurfaceElement
posted

Hello,

My customer really like right clicks and wants to put context menus everywhere...

I use the XamMap control to load a map of Europe. I currently draw some MapElements and use the ValueTemplate to display a custom template. In that template I am able to add a context menu, so the user can make a right  click  on an element and open a context menu to  interact  with the element.

I would like to make the same thing with a country in the map.  Technically  I would like to add a context menu to the SurfaceElement generated by the XamlMap control for every country.

 

Do you have any ideas how to achieved that requirement ?

 

Thanks.