在Windows 8屏幕键盘上添加按钮 [英] Adding buttons to the Windows 8 on-screen keyboard

查看:75
本文介绍了在Windows 8屏幕键盘上添加按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft股票"应用程序中有一行按钮,当您搜索股票时,这些按钮会显示在键盘顶部:

The Microsoft 'stocks' app has a row of buttons that are displayed at the top of the keyboard when you search for stocks:

(请参阅键盘上方的按钮)

(See the buttons just above the keyboard)

是否可以在自己的应用中添加这些内容?

Is there a way to add these in my own app?

推荐答案

There is exactly the same question here and a person from Microsoft answered:

键盘不可扩展.您看到的是底部的AppBar 在这种情况下键盘顶部.

The keyboard is not extensible. What you see is the bottom AppBar on top of the keyboard in that situation.

我认为您应该订阅Windows.UI.ViewManagement.InputPane.GetForCurrentView().Showing事件,以便在显示屏幕键盘时显示带有建议的应用程序栏.

I think you should subscribe to Windows.UI.ViewManagement.InputPane.GetForCurrentView().Showing event, to show that application bar with suggestions when screen keyboard is shown.

这篇关于在Windows 8屏幕键盘上添加按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆