views:

115

answers:

1

I'm about to add templated <Button> controls inside each of my Pushpins on my Map, in order to interact with the user clicking (er, touching) a pushpin. Is this the proper way to work with pushpins? I don't want to handle MouseDown and MouseUp and reinvent everything (and nobody should).

I just need confirmation.

+1  A: 

Why dont you add an Invisible styled button inside the MapItemsControl.ItemTemplate and use Click on the button.

Jobi Joy
Yeah, my question had "<Button>" in it (see edit), but it was hidden since it's mark up for links. Thank you for confirming that's the way to do it.
Martin Plante
Yeah that worked pretty good for me.
Jobi Joy