今天我在地铁上遇到Bing Map的新问题,持有事件对鼠标不起作用但是当我将其改为触摸模式时它工作正常。请帮帮我!!!
<Bing:Map x:Name="bingMap" Credentials="{StaticResource BingCredentials}" HorizontalAlignment="Left"
Width="700" Height="600" IsHoldingEnabled="True" Holding="Bing_Holding" />
private async void Bing_Holding(object sender, HoldingRoutedEventArgs e){
try
{
await new MessageDialog("I'm superman!").ShowAsync();
}
catch{}
}