开发者

Why does Application_Deactivated not get called on a pivot page?

开发者 https://www.devze.com 2023-02-05 00:38 出处:网络
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.

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 ke开发者_开发百科y 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?


If you just go to the Start screen then your application MAY not get tombstoned. This is expected behaviour.

If you open another application or open search from within your application you should experience tombstoning.

0

精彩评论

暂无评论...
验证码 换一张
取 消