Silverlight 中的虚拟屏幕键盘

发布于 2024-12-20 00:33:22 字数 425 浏览 2 评论 0原文

我正在尝试构建一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

征﹌骨岁月お 2024-12-27 00:33:22

这里有一篇文章介绍了如何将 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文