Hello,
I want the hamburger icon to stay whenever i am on the building overview page. Is it possible?
Yes, you can.
Firstly, remove the Routing.RegisterRoute("buildingoverview",typeof(BuildingOverviewPage)); In the code behind shell.
Then you have added Route="BuildingOverviewPage" in the <ShellContent>.
<ShellContent
Title="Building"
ContentTemplate="{DataTemplate views:BuildingOverviewPage}"
FlyoutIcon="{mi:Material Icon=Apartment,
IconColor={AppThemeBinding Dark={StaticResource White},
Light={StaticResource Black}},
IconAutoScaling=True}"
Route="BuildingOverviewPage" />
In the end, when you navigate to the BuildingOverviewPage, please use absolute routing like this Absolute routes document
await Shell.Current.GoToAsync("//BuildingOverviewPage");
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.