How to create a bottom TabBar using C# Markup #16117
-
Hi! I even tried the doc (but did not work): https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Tutorials/Navigation/Advanced/HowTo-UseTabBar.html I've provided a link to my GitHub project for reference: https://github.com/cbdefontenay/LearnVocab/tree/master |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@cbdefontenay looking closer into docs and your project... you need to define some |
Beta Was this translation helpful? Give feedback.
-
@cbdefontenay I have submitted a PR to your repo that makes a bunch of changes that should achieve what you want. Even though you have Pages that you want to navigate to, you can still use the Regions as part of your I re-structured the app a bit to achieve what I think you want. Now we would have a I also fixed a small bug where you were defining the Region names as LearnApp.webm |
Beta Was this translation helpful? Give feedback.
@cbdefontenay I have submitted a PR to your repo that makes a bunch of changes that should achieve what you want.
Even though you have Pages that you want to navigate to, you can still use the Regions as part of your
TabBar
. You can see this done here in this section of the Navigation docs Basically, you can just define an emptyGrid
with.Region(attached: true, navigator: "Visiblity")
and the Navigation Extensions will take care of adding the properPage
content to theGrid
based on the defined Routes.I re-structured the app a bit to achieve what I think you want. Now we would have a
MainPage
which simply serves as the "navigation shell", for lack of a better term, that hosts the mainT…