【问题标题】:How to hide the Notification Bar on the top of screen in windows phone 8如何在windows phone 8中隐藏屏幕顶部的通知栏
【发布时间】:2014-03-27 08:14:54
【问题描述】:

如何隐藏屏幕顶部的通知栏。我要全屏,怎么办?

【问题讨论】:

    标签: c# .net xaml windows-phone-8 notifications


    【解决方案1】:
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    Shell:SystemTray.IsVisiable="False" (Or true to display the tray)
    Shell:SystemTray.BackgroundColor="Transparent"
    

    可以参考this question.

    【讨论】:

      【解决方案2】:

      在您正在处理的页面的 XAML 中,您应该找到/编辑这一行:

      shell:SystemTray.IsVisible="true"
      

      并将其设置为false

      有关栏的自定义的更多信息,请参阅: https://nik.rolls.cc/2012/03/06/windows-phone-system-tray-tricks/

      【讨论】:

        猜你喜欢
        • 2021-08-30
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多