How to hide status bar in WP7 (Silverlight)

I am trying to hide the statur panel on the top of my Windows Phone 7 Silverlight application.
I found this while searching for stackoverflow, but for Xna.

graphics = new GraphicsDeviceManager(this); graphics.IsFullScreen = true; 

I tried it in my application, but it does not work. I know that this is possible, because there is a function on the Express board and xda application to hide / show the status bar.

+7
source share
3 answers
 using Microsoft.Phone.Shell; private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e) { SystemTray.IsVisible = false; } 
+11
source

I think Mahantesh's answer should be accepted for WP8:

 shell:SystemTray.IsVisible="False" 

Put this in XAML as it is already defined there (the default is true).

+5
source

Alternative:

 public MainPage() { InitializeComponent(); Loaded += MainPage_Loaded; } private void MainPage_Loaded(object sender, RoutedEventArgs events) { SystemTray.IsVisible = false; } 
+2
source

All Articles