继续关注Windows Phone 8中的文本框 [英] Keep focus on textbox in windows phone 8

查看:79
本文介绍了继续关注Windows Phone 8中的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


继续关注Windows手机中的文本框,我只想要短信应用(第一方应用)行为。

Keep focus on textbox in windows phone, I just want SMS app (first party app) behavior.


我有带文本框和应用栏按钮的页面。当我输入一些文本并点击应用程序栏按钮时,它会丢失文本框焦点和键盘,但在短信应用程序中它不是那样的。

I have page with textbox and app bar button. When I enter some text and hit the app bar button it looses the textbox focus and keyboard down but in SMS app it is not like that.


我该怎么办?保持焦点在文本框中?

How can I keep the focus in textbox ?


目前,当我按下按钮时我正在尝试聚焦但是现在发生了一些闪烁。

Currently, I am trying focus when I hit the button but some flickering is happen right now.

推荐答案

我怀疑将焦点保持在文本框中的唯一方法是编写程序,以便在焦点更改时将焦点设置在文本框上。不确定这对你有多好,因为它取决于你的整个场景。

I suspect the only way to keep the focus in the textbox is to write your program to keep setting the focus on the textbox if focus changes. Not sure how well this would work for you, as it depends on your whole scenario.

希望这会有所帮助,

Mark

Hope this helps,
Mark


这篇关于继续关注Windows Phone 8中的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆