Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

How can I make a navigation title bar disappear even after navigating back from another page?

$
0
0

I have a HomePage which links to other pages and is itself contained in a NavigationPage. I've disabled the NavigationBar for it using the following.

NavigationPage.SetHasNavigationBar(this, false);

It seems though that this only works the first time the page is rendered. If I navigate to some other page with a navbar, and then go back, the HomePage will now have an empty navbar. Another problem is that when I'm navigating away form the HomePage for the first time, I can see the target page rendered without the navbar during the transition animation

but after the animation transition finishes the navbar appears

Am I doing something wrong?


Viewing all articles
Browse latest Browse all 58056

Trending Articles