Search code examples
windows-phone-8.1statusbarsystem-tray

Windwos Phone 8.1 Hidden Status Bar(System Tray)


enter image description here

I want to add this 2 times pull status bar(top-middle part of picture) instead of just normal status bar. How can I do it? Thanks


Solution

  • You can use the StatusBar API to hide the system tray, and the ApplicationView API to get the double-swipe behaviour for the Action Centre. Note that this will also hide the "steering wheel" (Back / Start / Search) on all devices that have a software-drawn steering wheel except for FWVGA devices:

      var statusbar = StatusBar.GetForCurrentView();
      statusbar.HideAsync();
    
      var view = ApplicationView.GetForCurrentView();
      view.SuppressSystemOverlays = true;