硬件键盘事件 [英] Hardware Keyboard Event
问题描述
谁能告诉我如何检测何时使用硬件键盘以及何时使用软键盘?或者是否有任何事件表明显示了硬件键盘.
Can anyone tell me how to detect when the hardware keyboard is used and when the soft-key-pad is used? Or is there any event which tells that the hardware keypad is shown.
推荐答案
从 Mango 开始,现在可以完成硬件键盘检测 - 参见:
As of Mango, the hardware keyboard detection can now be done - see:
IsKeyboardDeployed - http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.iskeyboarddeployed(v=VS.92).aspx
IsKeyboardPresent - http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.iskeyboardpresent%28v=VS.92%29.aspx
IsKeyboardPresent - http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.iskeyboardpresent%28v=VS.92%29.aspx
KeyboardDeployedChanged - http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.keyboarddeployedchanged(v=VS.92).aspx
KeyboardDeployedChanged - http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.keyboarddeployedchanged(v=VS.92).aspx
这篇关于硬件键盘事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!