Silverlight 中的虚拟屏幕键盘
我正在尝试构建一个 OnScreenKeyboard 来填充 Silverlight Web 应用程序中的文本框。键盘必须是多语言的,这样当我将语言设置为中文并输入“a”等小写字母时,必须出现一个带有中文符号的组合框。
Windows XP 下的 OSK 对于我使用的触摸屏来说太小了。
我已经构建了一个带有包含字符串的按钮的键盘,但它们不像真正的键盘那样模拟按键事件。
Silverlight 是否有类似 System.Windows.Forms.SendKeys 的功能?这只能在 Windows.Forms 中使用,而我不能在 Silverlight 中使用。
我正在使用 Expression Blend 3 和 Visual Studio 2008。(Silverlight 版本 3)
我将非常高兴获得一些帮助。
问候克努特
I'm trying to build an OnScreenKeyboard to fill Textboxes in a Silverlight Web Application. The Keyboard has to be multilingual so that when I have set the language to chinese and enter a small letter like an "a", a combobox has to appear with the chinese signs.
The OSK under Windows XP is too small for the touchscreen which I'm using.
I already built a Keyboard with Buttons that contain strings but they do not simulate the Keypress Event like a real Keyboard.
Is there a similar function like System.Windows.Forms.SendKeys for Silverlight? This is only usable in Windows.Forms which I can not use in Silverlight.
I'm working with Expression Blend 3 and Visual Studio 2008.(Silverlight Version 3)
I would be very glad for some help.
Regards Knut
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里有一篇文章介绍了如何将 Kyeboard 行为附加到 UI 控件http://www.orktane.com/Blog/post/2009/11/09/Virtual-Input-Keyboard-Behaviours-for-Silverlight.aspx
Here is an article describes how to attached Kyeboard behavior to UI controls http://www.orktane.com/Blog/post/2009/11/09/Virtual-Input-Keyboard-Behaviours-for-Silverlight.aspx