Xamarin.Forms Guides | Samples

Xamarin.Forms.NavigationPage.OnBackButtonPressed Method

Event that is raised when the hardware back button is pressed. This event is not raised on iOS.

Syntax

protected override Boolean OnBackButtonPressed ()

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0