ArcGISWindowsPhoneSDK.WebMapKML.WebMapKML_MouseLeftButtonUp C# (CSharp) Method

WebMapKML_MouseLeftButtonUp() private method

private WebMapKML_MouseLeftButtonUp ( object sender, GraphicMouseButtonEventArgs e ) : void
sender object
e GraphicMouseButtonEventArgs
return void
        void WebMapKML_MouseLeftButtonUp(object sender, GraphicMouseButtonEventArgs e)
        {
            GraphicsLayer glayer = sender as GraphicsLayer;
            MapPoint clickPoint = MyMap.ScreenToMap(e.GetPosition(MyMap));

            MyInfoWindow.Anchor = clickPoint;
            MyInfoWindow.Content = e.Graphic.Attributes["name"];
            MyInfoWindow.IsOpen = true;
        }