WPF Pin Control position

Topics: Help, WPF
Mar 20 at 6:41 PM
Edited Mar 20 at 6:45 PM
I have created a WPF control with Pin image for marking places on maps. Image
      GMapMarker marker = new GMapMarker(
                new PointLatLng(lat, lng);
            marker.Shape = new PinControl();
            gmap.Markers.Add(marker);
However, when I scroll the map, the pin clearly not stays in the same position. It looks like the marker point is in the centre of image.

Can I move a marking point on the end of a pin nail?
Mar 27 at 6:53 PM
I have noticed it was because the marker was set for the top-left of the image, not the pin nail end.
For now on my solution is to manipulate user control margin to make its top-left corner be on a desired point.
Image