2012-11-27 37 views
0

它應該看起來像這樣。當點擊圖釘時。圖釘按鈕在點擊地圖中點擊時,如何讓按鈕出現在圖釘上方?

enter image description here

這是我的XAML。

<my:Pushpin Name="pin1" Location="60.285323,24.943501" Template="{StaticResource normalPushPin}" MouseLeftButtonUp="Location1_Popup"/> 

這是我的Location1_Popup方法。我不知道該寫什麼。

private void Location1_Popup(object sender, MouseButtonEventArgs e) 
    { 
     MessageBox.Show("Location1 has been clicked"); 
    } 

在此先感謝。

+0

什麼是你的問題? – Nasenbaer

+0

我應該在Location1_Popup方法中寫什麼? –

回答