WPF: HasNavigationBar doesn't have any effect
See original GitHub issueI’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:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s fixed in v0.50.0-alpha.2
This will be released in v0.50.0 which will arrive in the coming days (once we add support for XF 4.3)