Reputation: 11
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
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.
Upvotes: 2