码迷,mamicode.com
首页 > 其他好文 > 详细

WP8.1 页面跳转,overwrite后退键

时间:2014-09-09 22:43:59      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:io   ar   strong   cti   sp   on   c   ad   res   

In 8.1 we use the below code to navigate between pages:

this.Frame.Navigate(typeof(PivotPage));

 

 

In 8.1 we need to use the event to add hardware back event:

HardwareButtons.BackPressed += HardwareButtons_BackPressed;

 

(However, in WP8 Silverlight, there is a direct "OnBackKeyPress"function that can be used to override)

WP8.1 页面跳转,overwrite后退键

标签:io   ar   strong   cti   sp   on   c   ad   res   

原文地址:http://www.cnblogs.com/yibinpan/p/3963377.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!