Tiled/TestBed/TestBed/Screens/Screen.cs
/// <summary>Default implementation tells the screen manager to finish this screen's activity and navigate
/// to the previous screen on the backstack.</summary>
/// <remarks>Override this method if you want to have custom behavior when the back button is pressed.</remarks>
Default implementation tells the screen manager to finish this screen's activity and navigate
to the previous screen on the backstack.
Default implementation tells the screen manager to finish this screen ' s activity and navigate to the previous screen on the backstack .
protected virtual void HandleBackNavigation()
        {
            if (ScreenManager.CurrentScreen == this)
            {
#if !MONODROID
                ScreenManager.NavigateBack();
#endif
            }
        }
protected virtual void HandleBackNavigation ( ) { if ( ScreenManager . CurrentScreen == this ) { if ! MONODROID ScreenManager . NavigateBack ( ) ; endif } }
Default implementation tells the screen manager to finish this screen's activity and navigate
to the previous screen on the backstack.
Default implementation tells the screen manager to finish this screen ' s activity and navigate to the previous screen on the backstack .
// This is to prevent popups from unexpectedly going back
remarks
Override this method if you want to have custom behavior when the back button is pressed.
Override this method if you want to have custom behavior when the back button is pressed .