How to hide the status bar in Windows Phone 8.1 (C #, XAML)?
Windows Phone 8.1
In Windows Phone 8 this was done by setting shell:SystemTray.IsVisible="False" to any page. But it is not in Windows Phone 8.1
Windows Phone 8
shell:SystemTray.IsVisible="False"
With the release of the Windows Phone 8.1 SDK, a new StatusBar appears. StatusBar replaces SystemTray with Windows Silver Silver Apps. Unlike SystemTray, StausBar can only be accessed through code, and some functions have changed.
StatusBar statusBar = Windows.UI.ViewManagement.StatusBar.GetForCurrentView(); // Hide the status bar await statusBar.HideAsync(); //Show the status bar await statusBar.ShowAsync();
Link: Differences between the new StatusBar in Windows Phone XAML and SystemTray applications
Msdn Link: StatusBar Class
await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync(); await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().ShowAsync();
to hide and display the taskbar
Here is a simple tutorial that explains when working with the status bar.
http://denilparmar.blogspot.in/2016/01/working-with-statusbar-in-windows-phone.html
Hope that helps you :-)