How to run your Application in full screen mode in Windows Phone 7 ?

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

private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)

{

          SystemTray.IsVisible = false;

}

When you run the Application now , you should see that your Application now utilizes the little space alloted for SystemTray .

You can also set this property via the xaml file too

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

No Responses

  1. How to run your Application in full screen mode in Windows Phone 7 ? | ProgramInDotnet August 1, 2011 Reply

Leave a Reply


x

Interesting BlogPosts to read

Event on Building intelligent bots with the Microsoft Bot Framework in Manchester
Want to learn about building intelligent bots using Microsoft's Bot Framework. Here's an interesting...
Barracuda Introduces Email Threat Scan for Microsoft Office 365
With the number of advanced threats on the rise and affecting companies of all sizes, Barracuda toda...
Microsoft Showcases the Power of Analytics and Machine Learning to Transform Businesses and Drive Inclusive Growth
Microsoft India today inaugurated the first edition of Machine Learning & Data Sciences (ML&...