Why does Application_Deactivated not get called on a pivot page?
        Posted  
        
            by 
                willmel
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by willmel
        
        
        
        Published on 2011-01-15T00:46:37Z
        Indexed on 
            2011/01/15
            0:53 UTC
        
        
        Read the original article
        Hit count: 151
        
windows-phone-7
|windows-phone
For my Windows Phone 7 app, I have a main panorama page which opens up into a pivot control. The main panorama page correctly calls Activated/Deactivated, and restores correctly.
But after visiting the pivot page, pressing the Windows key doesn't call Deactivated.
When the app is relaunched with the back button, it goes right to how the page looked before tombstoning, but Activated is not called, and the page is not usable, and the back key doesn't work.
Has anyone else experienced this problem before?
© Stack Overflow or respective owner