Shell.SetNavBarIsVisible(this,false);
Shell tab navigation
I have a shell tabs and everything works fine, but I have an aesthetic question. When navigating to another page from any page of the tabs (without modal), the tabs are still displayed. In applications like Linkedln, Instagram that have lower tabs, when navigating to another page, the new page covers the entire application. I think this behavior should be able to choose, how can I modify it?
-
Ángel Rubén Valdeolmos Carmona 586 Reputation points
2020-12-02T08:31:36.273+00:00
1 additional answer
Sort by: Most helpful
-
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,391 Reputation points Microsoft Vendor
2020-11-27T11:17:16.237+00:00 Hello,
Welcome to our Microsoft Q&A platform!
when navigating to another page, the new page covers the entire application.
Do you want to achieve the result like following screenshot?
If so, you can use following code to navigate the page directly.
private async void Button_Clicked(object sender, EventArgs e) { await Navigation.PushModalAsync(new Page1()); }
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
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.