The form of WP7 is no longer the same as that of Mobile. It is a webpage-type window-page generated by silverlight. However, it is not exactly the same as silverlight. silverlight is generated by Frame and Page, while WP7 isPhoneApplicationFrameAndPhoneApplicationPageGenerated.
In addition, for WP7, there is also the problem of screen steering. For redirection, it is very simple. You only need to add a sentence to the constructor of each page.
SupportedOrientations = SupportedPageOrientation. Portrait | SupportedPageOrientation. Landscape;
If you want to add some functions to the redirection, You need to load the redirection event.
This. OrientationChanging + = new EventHandler <OrientationChangedEventArgs> (Orientchanged );
If the control position on the page needs to be changed during the redirection, this is also very simple. You only need to set the grid parameter.
There is a return key on WP7. When you press this key, it will be rolled back to the previous page. If you need to add some operations here, you need to load back key press event.
In addition, if this. navigationService. navigate (new Uri (url, UriKind. A new page will be created, so if you want to return to the previous or next page, you must use the rollback key, Goback (), GoForward () function to complete.