I am 开发者_StackOverflow社区working to integrate SMF to our windows phone 7 project. But I can't find a fullscreen control. This is what videos are coming with full screen but I don't want this. I have a grid for video and want to make a button that clicked event has full screen command for video. How can I implement this?
Thank you very much,
There is no "Fullscreen" concept on the phone. Simply change the control so that it takes up the whole screen.
You could do this explicitly or, if you have size set to auto, just hide all other items on the screen.
In Windows Phone 7 , there is an area called System Tray on the Top of the screen where the information related to Signal strength and the Battery Level is shown .
You cannot add any icons or text to this area , so there will be a empty space on the top of your Application.
However , if you dont want to have the empty space and instead if your Application needs be run in full screen mode , you can set the SystemTray
visibility to false .
SystemTray
is a static class defined in the namespace Microsoft.Phone.Shell
and you can set its IsVisible
to false
SystemTray.IsVisible = false;
Have a look here and here.
精彩评论