2

I'm building an app for WP7 and it occurred to me that the HTC Arrive has a sliding QWERTY keyboard. Is there a way to check for this in XAML and/or C#?

4

1 回答 1

4

您可以使用

bool hasHardwareKeyboard = Microsoft.Phone.Info.DeviceStatus.IsKeyboardPresent;

请参阅http://msdn.microsoft.com/en-us/library/microsoft.phone.info.devicestatus.iskeyboardpresent(v=vs.92)硬件键盘事件

于 2012-05-17T17:15:26.983 回答