Skip to content

How to create a bottom TabBar using C# Markup #16117

Answered by kazo0
cbdefontenay asked this question in Q&A
Discussion options

You must be logged in to vote

@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 empty Grid with .Region(attached: true, navigator: "Visiblity") and the Navigation Extensions will take care of adding the proper Page content to the Grid 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 main T…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cbdefontenay
Comment options

Comment options

You must be logged in to vote
1 reply
@cbdefontenay
Comment options

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