如何检查usercontrol是否已经调用 [英] how to check usercontrol is allready invock or not
问题描述
你好,
在我的应用程序中我打开文本框上的键盘点击。键盘我正在创建一个自定义用户控件,当我触摸文本框然后键盘打开。
in my application i m open a keyboard on textbox click . the keyboard i am creating a custom user control now when i touch on textbox then keyboard open .
问题是当我触摸两次时,我检查键盘是否已经打开
the problem is how i check keyboard is already open or not when i touch twice time
Dharmesh Sharma info@dharmeshsharma.com www.dharmeshsharma.com
Dharmesh Sharma info@dharmeshsharma.com www.dharmeshsharma.com
推荐答案
您好,
这取消了您如何展示自定义控件。
This depands on how you show your custom control.
请提供更多相关信息:
你是否在ScatterViewItem中显示你的控件?
如果没有你把它添加到你的可见集合中?
Please provide some more information about this:
Do you show your control in a ScatterViewItem?
If not where do you add it to your visible collection?
你也可以考虑制作你的键盘单身并给它一个"可见的"物业。
You could also think about making your keyboard singleton and give it a "Visible" property.
但您当前的问题并没有提供足够的信息来回答。
But your current question does not provide enough information to give an answer.
这篇关于如何检查usercontrol是否已经调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!