Different Top App Bar for pages #32
Unanswered
OliverDevsCodex
asked this question in
Q&A
Replies: 1 comment
-
Hi @OliverDevsCodex, I put together a simple sample (/src/Samples/Sample.SimpleShellTopBar) demonstrating my solution to your problem. There may be a better solution, but this is how I would do it. The main idea is that you abstract the top app bar into another control and wrap your page content with it. This is a simplified version of the control (I called it
Use of the control on a detail page:
Use of the control for root pages in
Please check the sample for the full source code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
first of all, I love this package! So thank you for that.
Now to my question:
I am fiddling around for a bit now on how to implement a "clean" approach on how to have a different appearance for the Top App Bar on different pages.
When using the .net Maui Shell I am able to override the TitelView within the PageView and make the appearance fit my needs. It also supports DataBinding.
How could I achieve something similar with SimpleShell?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions