Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the Xamarin.Forms Navigation Bar?

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.

like image 268
user3509981 Avatar asked Sep 29 '14 11:09

user3509981


1 Answers

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!

like image 88
Nirav Mehta Avatar answered Oct 31 '22 10:10

Nirav Mehta