黑屏只是闪了一会儿

编程入门 行业动态 更新时间:2024-10-26 11:17:35
本文介绍了黑屏只是闪了一会儿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在我的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.

让我知道如何去(:

更多推荐

黑屏只是闪了一会儿

本文发布于:2023-05-31 10:07:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/389592.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:会儿   闪了   黑屏

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!