protected override bool OnBackButtonPressed() { if (IsPresented) { if (Flyout.SendBackButtonPressed()) { return(true); } } EventHandler <BackButtonPressedEventArgs> handler = BackButtonPressed; if (handler != null) { var args = new BackButtonPressedEventArgs(); handler(this, args); if (args.Handled) { return(true); } } if (Detail.SendBackButtonPressed()) { return(true); } return(base.OnBackButtonPressed()); }