private void graphicsLayerFromFeatureSet_MouseLeftButtonDown(object sender, GraphicMouseButtonEventArgs e) { Point pt = e.GetPosition(ContentPanel); myInfoWindow.DataContext = e.Graphic.Attributes; myInfoWindow.Anchor = MyMap.ScreenToMap(pt); myInfoWindow.IsOpen = true; }