Windows Phone 8.1 - Page Navigation

前端 未结 4 1691
无人共我
无人共我 2020-12-01 05:11

Coming from Windows Phone 8 I have never thought there will be a lot of changes done to the Windows Phone 8.1 code. Basically I\'m just wondering h

4条回答
  •  隐瞒了意图╮
    2020-12-01 05:47

    In Windows Phone 8.1, Page Navigation method is like this:

    Frame.Navigate(typeof(SecondPage), param);
    

    It means that you will navagate to 'SecondPage', and pass 'param' (a class based on object).

    If you needn't to pass any parameters, You can use this:

    Frame.Navigate(typeof(SecondPage));
    

    You can find the documentation for this MSDN link

提交回复
热议问题