Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suppress System Overlays, Windows phone 8.1 (Silverlight)

I wanted to know how to hide the navigation-bar. And if it is possible to specify in XAML the code to SuppressSystemOverlay, as it is with the systemtray : shell:SystemTray.IsVisible="False".

I cannot find the description not even on msdn, which seems to refer to wp 8.1 build with WinRT, and my application is with silverlight.

like image 896
JTIM Avatar asked Jul 15 '15 11:07

JTIM


1 Answers

The answer is NO, sorry. From 8.1 it is only possible through code as described in this post. However, executing hide code in the constructor like this should give a similar effect:

public MainPage()
{
   InitializeComponent();
   await Windows.UI.ViewManagement.StatusBar.GetForCurrentView().HideAsync();
   Windows.UI.ViewManagement.ApplicationView.GetForCurrentView().SuppressSystemOverlays = true;
}
like image 171
Gillsoft AB Avatar answered Sep 29 '22 01:09

Gillsoft AB