开发者

Why does Application_Deactivated not get called on a pivot page?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜