如何隐藏Windows Phone 8屏幕顶部的通知栏

时间:2014-03-27 08:14:54

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

如何隐藏屏幕顶部的通知栏。我想要完整的屏幕,怎么做?

2 个答案:

答案 0 :(得分:3)

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.

答案 1 :(得分:1)

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

shell:SystemTray.IsVisible="true"

并将其设置为false

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