Skip to content

NavigationBar XamlDefaultNavigationBar Style does not show a NavigationBar? #19019

Answered by morning4coffe-dev
DevTKSS asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @DevTKSS.

Thank you! I’ve been taking a closer look and noticed slightly different behavior on my side. When I add XamlDefaultNavigationBar on WinUI, it throws the following error:

But works as expected on other platforms (desktop and mobile targets). I will open an issue in Toolkit repo to discuss more details, in the meantime this sample should display the NavigationBar:

<Page x:Class="UnoApp1.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:UnoApp1"
      xmlns:utu="using:Uno.Toolkit.UI"
      xmlns:um="using:Uno.Material"
      xmlns:d="http://schemas.microsoft.c…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@morning4coffe-dev
Comment options

@DevTKSS
Comment options

@DevTKSS
Comment options

@morning4coffe-dev
Comment options

@DevTKSS
Comment options

Answer selected by morning4coffe-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants