<phone:PhoneApplicationPage
x:Class="PhoneApp1.MainPage"
…
shell:SystemTray.IsVisible="True"
BackKeyPress="PhoneApplicationPage_BackKeyPress">
In code:
private void PhoneApplicationPage_BackKeyPress(object sender, System.ComponentModel.CancelEventArgs e)
{
e.Cancel = true; // Tell system we've handled it
// Hide the popup...
...
}
No comments:
Post a Comment