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.