Konjo
Konjo

Reputation: 11

Custom Pushpin wp7

I want to create a user control which inherit from Pushpin but it didn't work. Secondly i wanted create new User Control with GeoCoordinate Location like in Pushpin, but when i tried to add it to my Map it didn't occur in good places. So here is my question:

How to create Pushpin with a list of other items or something.I have to extend Pushpin class.

Upvotes: 1

Views: 880

Answers (1)

Claus Jørgensen
Claus Jørgensen

Reputation: 26336

You shouldn't create a UserControl to customize the layout of a Pushpin. Instead you should use a Style.

Microsoft wrote a nice guide about how to use Bing Maps, and create custom styled pushpins, you can read it here.

Pushpins in many colours http://msdn.microsoft.com/en-us/gg266447.9cb28f2d-692e-427e-a778-964990afe6bb(en-us).png

Upvotes: 2

Related Questions