Shell tab navigation

Ángel Rubén Valdeolmos Carmona 586 Reputation points
2020-11-27T09:34:45.553+00:00

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?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,336 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?

    43272-navi.gif

    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.