WPF:在 Windows 10 / 11 的 Microsoft Surface 虚拟键盘顶部显示文本

发布于 2025-01-10 15:24:34 字数 582 浏览 3 评论 0原文

我完成了 WPF 应用程序的触摸支持。如果我触摸 TextBox,标准虚拟键盘就会在我的表面上弹出,我可以按预期使用它。 输入图片此处的描述

但我的应用程序始终是全屏的,并且键盘覆盖了我的应用程序的很大一部分。所以有时它位于使用的 TextBox 前面 - 所以你无法真正看到你正在写的内容,因为它隐藏在虚拟键盘后面。

那么我如何在 Windows Surface 上配置虚拟键盘以具有如下预览文本框:

在此处输入图像描述

最佳情况: 它只是一个显示它的配置。我不想更改我的 winodws 表面的此标准机制的样式或默认行为。

I finished the touch support for my WPF-Application. If I touch a TextBox the standard virtual keyboard pops up on my surface and I can use it as expected.
enter image description here

But my application is allways fullscreen and the keyboard overlays a big party of my application. So sometimes it is in front of the used TextBox - so you cant really see what you are writing, because its hidden behind the virtual keyboard.

So how can i configure my virtual keyboard on my Windows Surface to have a Preview-Textbox like this:

enter image description here

Best case:
Its just a configuration to show it. I dont want to change the style or the default behaviour of this standard mechanism of my winodws surface.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文