Im migrating my wp8 proyect to wp8.1 universal, so to not touch too much my code I do:
In my page base class, in the constructor, I added:
public VBasePage()
{
Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
}
And then:
private void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
{
var args = new CancelEventArgs();
OnBackKeyPress(args);
if (args.Cancel)
{
e.Handled = true;
}
}
protected virtual void OnBackKeyPress(CancelEventArgs e)
{
}
So I can use my current overrides for OnBackKeyPress method