使用XAML在WPF应用程序(Windows 11)中设置触摸虚拟键盘布局/大小
我正在开发WPF(Windows 11)中的应用程序,该应用程序可以由触摸设备使用。在XAML中,可以设置输入范围,从而定义当用户聚焦文本框时自动打开的虚拟触摸键盘的类型(例如,仅数字键盘):
<TextBox InputScope="Number"/>
但是,在Windows 11中,Touch-Keweboard size也可以由用户更改(在:设置&gt;键盘布局&gt;默认/small/split/tranistranica)。
我可以使用XAML或C#,在我的WPF-APP中定义自动打开的触摸键板大小(从而避免用户不断更改它)?
I am developing an application in WPF (Windows 11) that can used by Touch-Devices. In XAML the input scope can be set, thus defining the type of virtual touch keyboard that is automatically opened when the user focus a TextBox (for example, the number-only keyboard):
<TextBox InputScope="Number"/>
However in Windows 11, the Touch-keyboard size can also be changed by the user (In: Settings > Keyboard Layout > Default/Small/Split/Traditional).
Can I using XAML or C#, define in my WPF-APP the Touch-Keyboard size that is automatically opened (thus avoiding the user to constantly change it)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论