Hide status bar in Windows Phone 8.1 with XAML

ⅰ亾dé卋堺 提交于 2019-12-25 16:53:32

问题


I'm trying to hide status bar in Windows Phone 8.1. I see a thread to do this (Hide Status bar in Windows Phone 8.1 Universal Apps), but this is C#. I would like to hide this status bar in XAML. Reason is that Expression doesn't detect the code in class constructor. When I launch the app all is working, but in Blend it still display the status bar, and so I can't make correctly the design...

My question is : Is there a way to hide status bar in XAML (via a property in Page tag or other) ? Or it is possible to force Blend to detect whatever I write in constructor ?

Thanks you


回答1:


There is no way to hide the status bar in XAML. But you can hide it in Expression Blend.

Look to the Device Tab and then unselect the Show Status Bar tick as shown in the picture.



来源:https://stackoverflow.com/questions/29700681/hide-status-bar-in-windows-phone-8-1-with-xaml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!