question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WPF: HasNavigationBar doesn't have any effect

See original GitHub issue

I’m using Fabulous.Core 0.25.0 with Xamarin.Forms 3.3.0.967583 on WPF. To be honest, I can’t figure out if this is a bug in Fabulous or in Xamarin’s WPF platform.

When trying to create an empty view without navigation bar

View.ContentPage().HasNavigationBar(false)

HasNavigationBar doesn’t seem to have any effect; the navigation bar is still there. Note that

View.ContentPage(created=fun page -> NavigationPage.SetHasNavigationBar(page, false))

does actually hide the navigation bar. I’m assuming that the former already works in other platforms.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
TimLarivierecommented, Oct 4, 2019

It’s fixed in v0.50.0-alpha.2

0reactions
TimLarivierecommented, Oct 27, 2019

This will be released in v0.50.0 which will arrive in the coming days (once we add support for XF 4.3)

Read more comments on GitHub >

github_iconTop Results From Across the Web

WPF: HasNavigationBar doesn't have any effect · Issue #223
I'm using Fabulous.Core 0.25.0 with Xamarin.Forms 3.3.0.967583 on WPF. To be honest, I can't figure out if this is a bug in Fabulous...
Read more >
FULL STACK WPF (.NET CORE) MVVM #5 - YouTube
I enhance the navigation bar with WPF styling. The navigation bar styles are isolated in their own resource dictionary to keep the project ......
Read more >
How to hide the navigation bar in a WPF page - xaml
I originally tried setting Page.ShowsNavigationUI and it had no effect. Just add the below style to a ResourceDictionary and it works fine.
Read more >
Navigation Overview - WPF .NET Framework
If you don't, there may be side effects with respect to how WPF navigation remembers Page navigation using the journal.
Read more >
WPF Navigation - Paul Stovell
A deep guide into how to make use of navigation, pages and PageFunctions in WPF.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found