views:

25

answers:

2

Hi,

Is there any way of disabling the hardware keys on Windows Phone 7 programmatically using Silverlight?

Thanks, Phil

+1  A: 

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?

lukas
A: 

Hi Phil,

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.

Mick N