在我的Windows phone 8应用我有对用户输入的搜索关键字文本框搜索页面。进入默认的SIP keyboard.The搜索结果的Enter键时,显示另一页的搜索将调用。为了导航到页面之前隐藏键盘,我用this.Focus()方法改变TextBox控件的焦点。但即使在这之后黑屏只是闪烁一段时间。有什么办法完全隐藏搜索方法和导航前的SIP键盘。请帮我。
In my Windows phone 8 application i have a search page which has a TextBox for user's to enter search keywords. The search will invoke when entering the "Enter" key of the default SIP keyboard.The search result is showing in another page. To hide the keyboard before navigating to result page, I changed the focus of TextBox control using this.Focus() method. But even after this a black screen is just flashing for a while. Is there any way to completely hide the SIP keyboard before the search method and the navigation. Please help me.
推荐答案这是一个渲染的问题,解决这个问题的一种方法是改变不透明度OT了你的应用程序任务栏
This is a rendering problem, one way to fix this is to change the the opacity ot the your applicationbar
<shell:ApplicationBar IsVisible="True" Opacity="0.99">当我有同样的问题,我想我需要解决这个问题,而不更改应用程序栏。所以,我在整个页面去了,什么似乎发生的是,我有很多的控制正在兴建我的全景里面,但它不是布局根网格的直接孩子,所以这是造成问题的原因。
When i had the same problem, i thought I needed to fix this WITHOUT changing the app bar. So i went through the whole page and what seems to happen is that i had a lot of controls being built inside my panorama, but it was not a direct child of the layout root grid, so that was causing the problem.
让我知道如何去(:
更多推荐
黑屏只是闪了一会儿
发布评论