How should I handle click events on pushpins in my Bing Maps control for WP7

前端 未结 3 901
醉梦人生
醉梦人生 2021-01-25 05:32

I\'m about to add templated

3条回答
  •  孤独总比滥情好
    2021-01-25 05:59

    MouseLeftBUttonUp ? I have only the emulator and it works on my custom pushpin :

    
                    
                        
                            
                                
                                    
                                        
                                            
                                        
                                    
                                
                            
                        
                    
                
    

    Edit: After getting a real device I have tested my application and I can confirm that MouseLeftBUttonUp is a bad idea (and not recommended by Microsoft in the Performance tips)

    instead you sould use Manipulation events:

    
    
        
            
                
                    
                        
                    
                
            
        
    
    
    

提交回复
热议问题