How to remove the Xamarin.Forms Navigation Bar?

user3509981 picture user3509981 · Sep 29, 2014 · Viewed 12.1k times · Source

Is there any way to remove the Navigation Bar from Xamarin.Forms - Portable (xaml) in Android?

I want to remove the "less than sign" ('<') and the application icon which appears above the content page of the Xamarin.Forms xaml.

Answer

Nirav Mehta picture Nirav Mehta · Sep 29, 2014

You can remove navigation bar from Xaml using Xamarin.Forms using below code.

NavigationPage.SetHasNavigationBar (this, false);

Where this stands for current page / form instance.

Hope this helps!