开发者

Disable windows phone 7 hardware keys in silverlight

Is there any 开发者_运维知识库way of disabling the hardware keys on Windows Phone 7 programmatically using Silverlight?

Thanks, Phil


No there is no way to do so, only what you can do is to override OnBackKeyPress event handler, but your app will not pass the certification.

Why would you like to do it anyway?


Disabling of all hardware keys with the exception of the back key is not possible.

The back key may only be overriden for the purpose of making custom page handling mechanics properly take the user back to the previous page they were looking at when the back key is pressed.

If you're back key does not implement back key functionality you risk having your submission to the marketplace fail.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜