Hide status bar in Windows Phone 8.1 Universal Applications

How to hide the status bar in Windows Phone 8.1 (C #, XAML)?

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

+48
c # winrt-xaml win-universal-app
Apr 11 '14 at
source share
3 answers

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

+89
Apr 11 '14 at 10:12
source share
 await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync(); await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().ShowAsync(); 

to hide and display the taskbar

+7
Nov 05 '14 at 0:09
source share

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 :-)

0
Apr 15 '16 at 5:57
source share



All Articles