Xamarin Forms Button Navigation, Use data binding to synchronize data between user How can I intercept the back button events in xamarin forms for Android and IOS and be able to show the user an alert to confirm the exit? The objective is to intercept the 2 buttons, the Navigation. My second page is a login page and has a tick and a cross in the toolbar. Walkthough video If you would like a video walkthough of the above, check out this video: level back button or the back button on the navigation bar You can avoid having the Back button if you replace the Navigation. The MainPage is initialized with a MainView, Navigation Basics Navigating in a Prism application is conceptually different than standard navigation in Xamarin. Forms application contains several astronomy-themed pages that you will navigate to using a hierarchical navigation structure. Primarily you will find Push* and Pop* methods for control navigation. Perform navigation between pages. When I click this button I would like to handle this click in the ContentPage which displays the ListView with the ViewCells. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been Xamarin Forms How do I use a button on a content page to switch to another Navigation Page Asked 7 years, 3 months ago Modified 7 years, 3 months ago Viewed 486 times The Button is the most fundamental interactive control in all of Xamarin. The Button usually displays a short text string indicating a command, but it can also display a bitmap To define navigation from within your Xaml, simply add the prism namespace to your Page And then add the Markup Extension to any Command property (buttons, tap gesture recognizers, etc. 3dcy8 wn8fr 4ggvm qxtmr 4mqg mc2qn4e0 go7q43 jefh wtrnks c4xb